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.
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.
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 ?
Does the FOPException class reference some other class? If so, perhaps the referenced class is unavailable.
You have to include manifest in .war with classpath of jars outside .war
but inside .ear .