-
1. Re: Some jars in WEB-INF/lib are not visible
peterj Nov 18, 2006 3:01 PM (in response to jmcollin92)Does your ear file contain an ejb jar file? Is a class in that jar file attempting to access FOPException? If so, move the fop-0.92.jar to the ear file and add it to the application.xml file.
-
2. Re: Some jars in WEB-INF/lib are not visible
jmcollin92 Nov 19, 2006 3:39 AM (in response to jmcollin92)Thank's for your reply.
I've an EJB jar in the ear, but FOP is only accessed in the web tier.
Nevertheless I will try to put it in the ear and modify the application.xml. -
3. Re: Some jars in WEB-INF/lib are not visible
jmcollin92 Nov 19, 2006 3:58 AM (in response to jmcollin92)I try to put the jar in the ear (iI cannot put it in the application.xml which is generated by androMDA or Maven in my case).
I've got the same result.
Do you notice that it's not a ClassNotFoundException but a java.lang.NoClassDefFoundError.
Perhaps it means something else ? -
4. Re: Some jars in WEB-INF/lib are not visible
peterj Nov 19, 2006 10:22 PM (in response to jmcollin92)Does the FOPException class reference some other class? If so, perhaps the referenced class is unavailable.
-
5. Re: Some jars in WEB-INF/lib are not visible
afedoren Nov 21, 2006 9:37 AM (in response to jmcollin92)You have to include manifest in .war with classpath of jars outside .war
but inside .ear .