-
1. Re: Some jars in WEB-INF/lib are not visible
Peter Johnson Nov 18, 2006 3:01 PM (in response to jm collin)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
jm collin Nov 19, 2006 3:39 AM (in response to jm collin)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
jm collin Nov 19, 2006 3:58 AM (in response to jm collin)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
Peter Johnson Nov 19, 2006 10:22 PM (in response to jm collin)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
Alexander Fedorenko Nov 21, 2006 9:37 AM (in response to jm collin)You have to include manifest in .war with classpath of jars outside .war
but inside .ear .