This topic's about a problem I'm currently experiencing while trying to deploy a Web Application that makes a call to an EJBusing Dependency injection from a Servlet. This is the Stack trace generated when I attempt to deploy my web app:
DeployerRunnable.run Error parsing annotation for class org.servlet.TestServletoracle.oc4j.admin.internal.DeployerException: Error parsing annotation for class org.servlet.TestServlet
Here's a Snippet from the Servlet that's making the call:
Here's the EJB implementation:
Finally, I will post the Container-specific Deployment descriptor:
Up until this moment, I still have no clue, about the reason why I can't inject my EJB in the Web-app's Servlet.
Please Help ! Please........
It's so hard to find info. about this problem on the internet.
Joined: May 28, 2007
Hello there !
I've corrected this problem by using the same name for the @Stateless annotation and the display-name tag in the ejb-jar file, for @EJB this name should match also.