<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey guys,<div><br></div><div>I already bugged the Errai and Resteasy guys with my problem, but I was told that you guys are in charge of this ;)</div><div><br></div><div>I possibly discovered a bug in the Weld implementation provided with JBoss 7.1.1.Final.</div><div>I was playing around with Errai and JAX-RS and I discovered that when I add the JAX-RS annotations to the interface this works as expected.</div><div>As soon as I start to use a CDI Decorator with the JAX-RS interface, i start getting the following error:</div><div><br></div><div><i>"org.jboss.weld.exceptions.UnproxyableResolutionException: WELD-001306 Attempting to inject an unproxyable normal scoped bean Decorator….."</i></div><div><i><br></i></div><div>If I then put the JAX-RS annotations back at the implementation, everything works fine. Unfortunately this behavior is not working for me, because Errai needs the annotations at the interface to create client code.</div><div><br></div><div>As I was unsure if this only happened with Errai on the classpath, I created a very little demo project, which exactly shows the bug I mentioned:&nbsp;<a href="https://github.com/w0mbat/RESTTest">https://github.com/w0mbat/RESTTest</a></div><div><br></div><div>Hope you guys can confirm this as a bug and fix it soon ;)</div><div><br></div><div>Regards,</div><div><br></div><div>Daniel</div></body></html>