This content has been marked as final.
Show 3 replies
-
1. Re: Unit testing CDI enabled applications using Weld SE
swd847 Aug 5, 2010 4:29 PM (in response to javalicious)You are probably missing beans.xml, putting beans.xml in src/test/resources/META-INF/ should fix the problem.
I recommend you check out Arquillian for EE testing.
-
2. Re: Unit testing CDI enabled applications using Weld SE
pmuir Aug 10, 2010 6:18 AM (in response to javalicious)You can use Arquillian for Weld SE testing too.
-
3. Re: Unit testing CDI enabled applications using Weld SE
hhcofcmds May 13, 2011 7:21 AM (in response to javalicious)I had a similar error when my ant/junit classpath was not complete. If the class loading has some errors, Weld logs it only in debug mode (BeanDeployer.addClass(String)), and you just get WELD-001308, without further reasons.