Hi,

I have been playing with the EJBContainerRule but, in the logs, I always see 
some warnings like these:

WARNING - WARN ... EjbModule1458021134: The application [EjbModule1458021134] 
uses @Inject but CDI is not enabled. Maybe youd need to add a beans.xml file.
WARNING - 1 warning for EjbModule(path=EjbModule1458021134)

I put a beans.xml in both src/main/resources/META-INF and 
src/test/resources/META-INF, so I don't understand why it's complaining.

If I inject my test with @EJB instead of @Inject then the warnings disappear.

Do I need to do something else?

Thanks,

Xavier

                                          

Reply via email to