This content has been marked as final.
Show 2 replies
-
1. Re: WELD-001408: Unsatisfied dependencies when moving @Produces method to a different module
jerome110011 May 20, 2014 4:00 AM (in response to jenskoefod)Hello Jens,
I've got the exact problem like you. The only difference is that I deploy my projects one for one.
I posted my problem on SO: http://stackoverflow.com/questions/23733540/cdi-2-projects-inject-weld-001408-error/23754016#23754016
You could try to place the beans.xml in different places. And to use the @Named annotation. Thats all I know
-
2. Re: WELD-001408: Unsatisfied dependencies when moving @Produces method to a different module
mkouba May 20, 2014 4:27 AM (in response to jenskoefod)Hi Jens,
your deployment scenario is a bit uncommon and definitely not portable accross Java EE containers. I don't think it's a good idea to have "sharedutils.ear", instead I would create a simple "sharedutils.jar" and place it in each EAR lib directory.