[jboss-user] [EJB 3.0 Users] - Re: Problem with EJB Injection in Servlet

Wolfgang Knauf do-not-reply at jboss.com
Mon Aug 24 07:38:26 EDT 2009


the JAR files in WEB-INF\lib are automatically added to the classpath, no need to add those to META-INF\Manifest.mf.

As you are using EJB3, you don't need any deployment descriptors besides web.xml, if you use annotations. You might try to remove them all, just to check that no error in one of them breaks your app.

You might post the relevant parts of your servlet code, which don't work. And what is  the error message?

Best regards


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251163#4251163

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251163

More information about the jboss-user mailing list