This content has been marked as final.
Show 2 replies
-
1. @Named not working in JBoss 6
alex_vb Jan 27, 2011 4:01 PM (in response to aneaga)I stumbled upon this page while researching a similar error (the JSF @ManagedBean annotation did work though). The fix to my problem was maddeningly easy: I had to add an (empty in this case) beans.xml to the WEB-INF folder. Only then does CDI kick in apparently.
Hope it helps either you or the next stumbling guy!
-
2. @Named not working in JBoss 6
nickarls Jan 27, 2011 4:25 PM (in response to alex_vb)Yes, stick beans.xml in every META-INF and WEB-INF dir you can find ;-)