This content has been marked as final.
Show 3 replies
-
1. Re: Location of CDI Service beans
csa Jul 18, 2011 12:55 PM (in response to craiggreenhalgh)I just tried this and it worked fine using Errai 1.2.3-SNAPSHOT and dev mode (mvn clean gwt:run). Where are you deploying your app to? Also, can you confirm that your class is in war/WEB-INF/classes and in the corresponding directory?
-
2. Re: Location of CDI Service beans
craiggreenhalgh Jul 18, 2011 1:57 PM (in response to csa)I'm using 1.2.3-SNAP also,
Yep classes are deployed in into WEB-INF/classes
I'm using jboss6 Final.
It must initially register the beans as the typename is the fully qualified name, just cannot get reference to an actual bean
Thanks for your help
Craig
-
3. Re: Location of CDI Service beans
csa Jul 18, 2011 3:53 PM (in response to craiggreenhalgh)Works fine in JBoss 6 too. Anything in your boot or server.log? Weld's BeanManager doesn't seem to be able to resolve your Service.