This content has been marked as final.
Show 5 replies
-
1. Re: EAR deployment issues
jaikiran Aug 11, 2006 5:50 AM (in response to nancy.aggarwal)2)I am placing WEB-INF/lib outside war in common.jar (EAR classloader level) but war can not find the required classes from coomon.jar
You will have to add the following entry to application.xml file which is present in the META-INF directory:<module> <java>Common.jar</java> </module>
-
2. Re: EAR deployment issues
nancy.aggarwal Aug 11, 2006 6:06 AM (in response to nancy.aggarwal)hello JaiKiran,
I have placed this code inside the applicaton.xml.Even then i am getting noclassdefnfound error. -
3. Re: EAR deployment issues
jaikiran Aug 11, 2006 6:07 AM (in response to nancy.aggarwal)Post the exception stacktrace that you are seeing(Use the code button to wrap the contents in Code block, while posting)
-
4. Re: EAR deployment issues
nancy.aggarwal Aug 16, 2006 7:44 AM (in response to nancy.aggarwal)Hello Jaikiran,
My application is gwt based.And placing gwt-user.jar outside web-inf/lib causes noclassdeffound for gwt classes.I have placed this jar inside the web-inf/lib.It works now.
I have not found answer to my other questions.Please reply. -
5. Re: EAR deployment issues
osterday Aug 17, 2006 10:20 AM (in response to nancy.aggarwal)You might need to set the classpath in the META-INF/MANIFEST.MF for the war lists all the jars that web app needs. This is what we do, but we don't use a "common.jar" to include all the libs and dependent jars.