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.


Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all


This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 {file location}"

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

  • Error start up tinapos
    via openbravopos by nobody
  • no encuentra clase net.adrianromero...
    via openbravopos by mandinga
  • Tomcat not working
    via by Unknown author,
    • java.lang.NoClassDefFoundError: net.adrianromero.tpv.scale.DeviceScale at java.lang.Class.initializeClass( at net.adrianromero.tpv.forms.JFrmTPV.startTPV(Unknown Source) at net.adrianromero.tpv.forms.JFrmTPV.access$300(Unknown Source) at net.adrianromero.tpv.forms.JFrmTPV$ Source) at java.awt.event.InvocationEvent.dispatch( at java.awt.EventQueue.dispatchEvent( at Caused by: java.lang.ClassNotFoundException: not found in gnu.gcj.runtime.SystemClassLoader\{urls=\[file:tinapos.jar,file:l2fprod-common-tasks.jar,file:jasperreports-1.2.0.jar,file:jcommon-1.0.0.jar,file:jfreechart-1.0.0.jar,file:jdt-compiler-3.1.1.jar,file:commons-beanutils-1.5.jar,file:commons-collections-2.1.jar,file:commons-digester-1.7.jar,file:itext-1.3.1.jar,file:poi-2.0-final-20040126.jar,file:velocity-1.4.jar,file:bsh-core-2.0b4.jar,file:axis.jar,file:jaxrpc.jar,file:saaj.jar,file:commons-discovery-0.2.jar,file:commons-logging-1.0.4.jar\], parent=gnu.gcj.runtime.ExtensionClassLoader\{urls=\[\], parent=null\}\} at at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at java.lang.VMClassLoader.defineClass( at java.lang.ClassLoader.defineClass( at at at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at java.lang.Class.forName( at java.lang.Class.initializeClass(

    Users with the same issue

    1 times, last one,
    2 times, last one,
    Andreas Häber
    3 times, last one,
    Unknown visitor1 times, last one,
    2 times, last one,
    1418 more bugmates