java.lang.NoClassDefFoundError

tip

Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Generate pdf document on server - Mendix Forum
    via by Unknown author,
  • apache karaf faild to load web bundle
    via Stack Overflow by WestFarmer
    ,
  • GLASSFISH 3 DOMAIN SERVICE ERROR
    via Stack Overflow by DES
    ,
  • GitHub comment 2573#158913924
    via GitHub by srs
    ,
  • Unable to create Hello World site
    via GitHub by Tmarty
    ,
  • Karaf - Dev - Java 6 support broken in Karaf 3.0.x
    via by Unknown author,
  • NoClassDefFoundError org/w3c/dom/ElementTraversal
    via by Unknown author,
    • java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2279) at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.xerces.jaxp.DocumentBuilderImpl.newDocument(Unknown Source) at com.mendix.documentexporter.documents.FOBasedDocument.<init>(FOBasedDocument.java:51) at com.mendix.documentexporter.documents.PDFDocument.<init>(PDFDocument.java:44) at com.mendix.documentexporter.DocumentGenerator.exportToInputStream(DocumentGenerator.java:99) at com.mendix.documentexporter.DocumentGenerator.exportToIMendixObject(DocumentGenerator.java:79) at com.mendix.documentexporter.actions.microflow.DocumentExportAction.execute(DocumentExportAction.scala:74) at com.mendix.documentexporter.actions.microflow.DocumentExportAction.execute(DocumentExportAction.scala:17) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:49) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:196) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:151) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:53) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:291) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:276) at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:204) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:37) at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:199) at com.mendix.core.component.InternalCore.execute(InternalCore.java:264) at com.mendix.webui.actions.client.ExecuteAction.execute(ExecuteAction.java:135) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply$mcV$sp(ClientRequestHandler.scala:299) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:292) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:292) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:151) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:37)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Ghosts
    12 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    139 more bugmates