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

sarabjit do-not-reply at jboss.com
Sat Aug 22 03:46:31 EDT 2009


Hey Jaikiran,

Thanks for your reply. I tried using the same annotation in JBoss 5.1 but it gives the same error. I've now used pitchfork to support annotations in my servlets and web modules.

One more quick question about shared libraries here. I've put my shared libs directly under ear. And the libs specific to war in WEB-INF/lib

myear.ear
|____myjar.jar
|____mywar.war
............|___WEB-INF
.....................|__lib
...........................|__mywarlib.jar

Manifest.mf in mywar.war is 
Class-Path: myjar.jar mywarlib.war


My war is able to access files in myjar.jar but it gives a NoClassDefFound for all classes n mywarlib.war

Can you please tell me how i can specify relative paths in manifest?

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

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



More information about the jboss-user mailing list