From WikiJava
java.lang.NoClassDefFoundError <class-name> occurs when the classloader doesn't find a subclass of <class-name>
Don't be confused with ClassNotFoundException, which occurs when <class-name> isn't found by the classloader.
To solve it, check the hierarchy of <class-name> and add the missing jars
Example
WARN [EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError: es/caib/pfunciona/data/educacio/document/CertificatFppPdf
...
at java.lang.Thread.run(Thread.java:595)
public class CertificatFppPdf extends MyPDF { .. }
public class MyPDF implements PdfPageEvent { .. }
In this case NoClassDefFoundError occured because it was missing the jar containing the PdfPageEvent class.
Comments from the users
To be notified via mail on the updates of this discussion you can login and click on watch at the top of the page
|
Comments on wikijava are disabled now, cause excessive spam.