I'm not sure what Weld does, but the spec clearly mandates it

"3.15. Unproxyable bean types

The container uses proxies to provide certain functionality. Certain legal bean 
types cannot be proxied by the container:
• classes which don’t have a non-private constructor with no parameters,
..
Otherwise, the container automatically detects the problem, and treats it as a 
deployment problem."


Please let us know how this bean looks like.

txs and LieGrue,
strub





> On Saturday, 20 December 2014, 16:35, "[email protected]" 
> <[email protected]> wrote:
> > Hello All, 
> 
> im currently trying to run an app based on Vraptor Framework with tomee 2.0. 
> 
> unfortunately im facing an issue with proxyable beans. 
> 
> the issue is that openweb beans need an explicit default constructor and 
> Vraptor 
> CDI objects doesn't implement it. 
> 
> in the other hand the same application is running fine on WildFly with Weld 
> implementation. 
> 
> my question is, should i suggest something to Vraptor guys if the CDI spec 
> doesnt define this aspect or should i get in touch with OWB guys to check 
> with 
> this issue? 
> 
> 
> thanks in advance 
> 
> Salim 
>

Reply via email to