This content has been marked as final.
Show 2 replies
-
1. Re: CDI JSF @Named classes not working in lib jar but ok in classes
swd847 Mar 30, 2010 2:53 AM (in response to icordoba)Did you remember the beans.xml file?
-
2. Re: CDI JSF @Named classes not working in lib jar but ok in classes
icordoba Mar 30, 2010 3:26 AM (in response to icordoba)mmmm... I feel so...
I had followed multiple CDI tutorials and they put beans.xml file in /WEB-INF ; I had understood that the file was mandatory but misunderstood that that file would make all jars be detected by the CDI bean discovery process. I've just realized that beans.xml must be in every .jar I want to be discoverable.Thanks for your fast and helpful reply Stuard,
Ignacio