<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi, please file an issue in our issue
tracker and I'll take a look.<br>
<br>
<a class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/WELD">https://issues.jboss.org/browse/WELD</a><br>
<br>
On 11/06/2012 05:00 PM, Daniel Sachse wrote:<br>
</div>
<blockquote
cite="mid:ADB47C2E-6314-427E-AF30-35B28654C5BF@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
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: <a moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
weld-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/weld-dev">https://lists.jboss.org/mailman/listinfo/weld-dev</a></pre>
</blockquote>
<br>
</body>
</html>