java.lang.NoClassDefFoundError: org/jaxen/JaxenException

Pentaho BI Platform Tracking | Sean Flatley | 4 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.
  2. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>
  3. 0
    samebug tip
    This was caused by a failure to instantiate Kafka broker. Check your dependencies.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.
  6. 0

    To reproduce: - start Metadata Editor - create a new domain file - create a new connection. The console will display this: ERROR 29-04 13:14:41,444 - Pentaho Metadata Editor - Unable to load query : java.io.FileNotFoundException: /home/sflatley/.pentaho-meta/.query (No such file or directory) Exception in thread "main" java.lang.NoClassDefFoundError: org/jaxen/JaxenException at org.pentaho.ui.xul.impl.AbstractXulLoader.preProcess(AbstractXulLoader.java:373) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:91) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:112) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:106) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:244) at org.pentaho.ui.database.DatabaseConnectionDialog.getSwtInstance(DatabaseConnectionDialog.java:56) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.createDialog(XulDatabaseDialog.java:142) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:105) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:62) at org.pentaho.pms.ui.MetaEditor.newConnection(MetaEditor.java:2793) at org.pentaho.pms.ui.MetaEditor$47.handleEvent(MetaEditor.java:1675) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:851) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3587) Caused by: java.lang.ClassNotFoundException: org.jaxen.JaxenException at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) The UI will freeze up.

    Pentaho BI Platform Tracking | 4 years ago | Sean Flatley
    java.lang.NoClassDefFoundError: org/jaxen/JaxenException

  1. rsprangemeijer 6 times, last 5 days ago
  2. marcbouvierdav 26 times, last 7 days ago
  3. batwalrus76 12 times, last 1 week ago
  4. musketyr 1 times, last 1 week ago
  5. SteVio1989 4 times, last 1 week ago
69 more registered users
26 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.jaxen.JaxenException

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    6 frames