Hey guys,

I wanted to sum up some problems I ran into while using Errai and JAX-RS.

I normally use the javax.ws.rs.core.Response Object in my REST services to 
return different Status codes depending on custom conditions. Unfortunately I 
get compiler errors telling me : "No source code is available for type 
javax.ws.rs.core.Response; did you forget to inherit a required module?". Any 
ideas about that?
Using Interfaces with JAX-RS annotations like @Path, @GET, etc. with "normal" 
Object responses work fine so far. BUT, as soon as I try to attach CDI 
decorators to such an Interface, Weld complains with:  
"org.jboss.weld.exceptions.UnproxyableResolutionException: WELD-001306 
Attempting to inject an unproxyable normal scoped bean Decorator….", although 
the implementation is perfectly proxyable. Did anybody experience something 
similar?

Some technical infos:
I am using JBoss 7.1.1.Final and Errai 2.1.1.Final.

Hope somebody knows anything :)

Regards,

Daniel (w0mbat)
_______________________________________________
errai-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/errai-dev

Reply via email to