java.lang.NoClassDefFoundError: com/lmax/disruptor/EventTranslator

tip

Check if you didn't forget to instantiate your topic in the kafka broker.

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.

tip

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

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.

tip

You need to add httpcore to your dependencies. Try adding version 4.3 or further.

tip

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

tip

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

tip

jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.

tip

The server rejects all jars that already belong to the server runtime (such as tomcat-**.jar, servlet**.jar). Consider substituting the CORS filter you're using for this one: https://goo.gl/ctQ7Fs

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

  • running hadoop .. -libjars using HIPI
    via Stack Overflow by user1271518
    ,
  • Got error when try to use SASInput read sas dataset. An unexpected error occurred in Spoon: org/eobjects/sassy/SasReaderCallback java.lang.NoClassDefFoundError: org/eobjects/sassy/SasReaderCallback at org.pentaho.di.ui.trans.steps.sasinput.SasInputDialog.get(SasInputDialog.java:344) at org.pentaho.di.ui.trans.steps.sasinput.SasInputDialog$3.handleEvent(SasInputDialog.java:162) 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.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1221) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8304) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.ClassNotFoundException: org.eobjects.sassy.SasReaderCallback at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 15 more
    via by Kit Chaksuvej,
  • Got error when try to use SASInput read sas dataset. An unexpected error occurred in Spoon: org/eobjects/sassy/SasReaderCallback java.lang.NoClassDefFoundError: org/eobjects/sassy/SasReaderCallback at org.pentaho.di.ui.trans.steps.sasinput.SasInputDialog.get(SasInputDialog.java:344) at org.pentaho.di.ui.trans.steps.sasinput.SasInputDialog$3.handleEvent(SasInputDialog.java:162) 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.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1221) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8304) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.ClassNotFoundException: org.eobjects.sassy.SasReaderCallback at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 15 more
    via by Kit Chaksuvej,
    • java.lang.NoClassDefFoundError: com/lmax/disruptor/EventTranslator at com.thinkaurelius.thrift.TDisruptorServer.<init>(TDisruptorServer.java:192) at org.apache.cassandra.thrift.THsHaDisruptorServer.<init>(THsHaDisruptorServer.java:46) at org.apache.cassandra.thrift.THsHaDisruptorServer$Factory.buildTServer(THsHaDisruptorServer.java:90) at org.apache.cassandra.thrift.TServerCustomFactory.buildTServer(TServerCustomFactory.java:56) at org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.<init>(ThriftServer.java:130) at org.apache.cassandra.thrift.ThriftServer.start(ThriftServer.java:56) at org.apache.cassandra.service.CassandraDaemon.start(CassandraDaemon.java:414) at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:474) at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:504) Caused by: java.lang.ClassNotFoundException: com.lmax.disruptor.EventTranslator at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 9 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Casper
    Casper4 times, last one,
    Handemelindo
    Handemelindo1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    2285 more bugmates