Hello Community,

I am trying to inject a pojo into my Enterprise Web Application. Everytime,
when I try to deploy it, my TomEE+ says. Injection failed! because my
@Inject Annotiation is wrong.

I am a beginner to JEE 6. I just want to ask how can I inject a Custom Java
Class to a Stateless sessionbean?

1. In my META-INF directory is a xml file called beans.xml
2. My SessionBean has got an Annotation @Inject
3. My Class exists

Is it the right way?

--
View this message in context: 
http://openejb.979440.n4.nabble.com/CDI-Inject-Annotation-tp4653690.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to