ok, my bad, back to junit 4.11 (works better!)

but still problems with@ManagedBean, based on this  article
<https://rmannibucau.wordpress.com/2014/04/24/ejbcontainerrunner-or-test-with-ejbcontainer-easily/>
  
I got now this error :

Avertissement - WARN ... EjbModule1275312335:   The application
[EjbModule1275312335] uses @Inject but CDI is not enabled. Maybe youd need
to add a beans.xml file.
Avertissement - 1 warning for EjbModule(path=EjbModule1275312335)
Infos - Enterprise application "C:\J2EE\JEE6\projects\cdi-basic" loaded.
Infos - Assembling app: C:\J2EE\JEE6\projects\cdi-basic
Infos -
Jndi(name="java:global/cdi-basic/CourseTest!org.superbiz.cdi.basic.CourseTest")
Infos - Jndi(name="java:global/cdi-basic/CourseTest")
Infos -
Jndi(name="java:global/cdi-basic/Course!org.superbiz.cdi.basic.Course")
Infos - Jndi(name="java:global/cdi-basic/Course")
Grave - Jndi name could not be bound; it may be taken by another ejb. 
Jndi(name=openejb/Deployment/CourseTest/org.superbiz.cdi.basic.CourseTest!LocalBeanHome)
Infos - Undeploying app: C:\J2EE\JEE6\projects\cdi-basic

new zip joined :

cdi-basic.zip
<http://tomee-openejb.979440.n4.nabble.com/file/n4674550/cdi-basic.zip>  






--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/openEJB-perfs-tp4674462p4674550.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to