[weld-dev] Workaround for error code : WELD-001435

Ales Justin ales.justin at gmail.com
Wed Sep 26 09:12:05 EDT 2012


As Nicklas suggests, add META-INF/org.jboss.weld.enableUnsafeProxies file to your deployment.

On Sep 26, 2012, at 1:03 PM, Charles Moulliard <cmoullia at redhat.com> wrote:

> Hi Ales,
> 
> Can you explain a little bit please as I don't understand what you exactly suggest to do ?
> 
> Regards,
> 
> Ir. Charles Moulliard
> Sr. Enterprise Architect | RedHat, Inc
> cmoullia at redhat.com | mobile: +32 473 604 014 | RedHat.com
> skype: cmoulliard | twitter: @cmoulliard
> blog: cmoulliard.blogspot.com
> On 26/09/12 11:05, Ales Justin wrote:
>>> Wonder if the marker mentioned in 
>>> 
>>> https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/weld/util/reflection/instantiation/AbstractInstantiatorFactory.java
>>> 
>>> does anything? Or perhaps the deployment stops at a validation phase before it gets that far...
>> 
>> Both - validation and instantiation - use the same mechanism, this InstantiatorFactory.
>> It was just re-writen a bit, to be per app, not per whole Weld.
>> So, if IF knows how to instantiate w/ arg ctor, you should be fine.
>> 
>> -Ales
>> 
>>> On Wed, Sep 26, 2012 at 10:39 AM, Charles Moulliard <cmoullia at redhat.com> wrote:
>>> Hi. 
>>> 
>>> Is there a workaround to avoid to add a non args constructor in an abstract class when we get this error "WELD-001435 Normal scoped bean class org.apache.camel.builder.BuilderSupport is not proxyable because it has no no-args constructor " ?
>>> 
>>> Regards,
>>> 
>>> -- 
>>> Ir. Charles Moulliard
>>> Sr. Enterprise Architect | RedHat, Inc
>>> cmoullia at redhat.com | mobile: +32 473 604 014 | RedHat.com
>>> skype: cmoulliard | twitter: @cmoulliard
>>> blog: cmoulliard.blogspot.com
>>> 
>>> _______________________________________________
>>> weld-dev mailing list
>>> weld-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/weld-dev
>>> 
>>> 
>>> 
>>> -- 
>>> ---
>>> Nik
>>> _______________________________________________
>>> weld-dev mailing list
>>> weld-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/weld-dev
>> 
>> 
>> 
>> _______________________________________________
>> weld-dev mailing list
>> weld-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/weld-dev
> 
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20120926/dd66fd92/attachment-0001.html 


More information about the weld-dev mailing list