Hello,

I've created example app with camel-cdi and it works, if launched with
maven. However, I'd like to package and deploy it as a single jar file and
it doesn't work. With other camel routes which don't use CDI it works fine.
The error:

Exception in thread "main"
javax.enterprise.inject.UnsatisfiedResolutionException: WELD-ENV-000018:
Unable to resolve a bean for class
org.jboss.weld.environment.se.WeldContainer with bindings []

I've read some posts its not recommended to deploy cdi app as fat jar, but
it would be very convenient. Had anyone success with it?

Regards,



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-cdi-projects-as-fat-jar-tp5786762.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to