java.lang.NoClassDefFoundError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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

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

  • GitHub comment 62#253679150
    via GitHub by quintinali
    ,
  • Java Issue when run ipython
    via GitHub by titipata
    ,
  • GitHub comment 11#91978844
    via GitHub by sparkscala
    ,
  • GitHub comment 11#92133430
    via GitHub by sparkscala
    ,
  • GitHub comment 11#92292825
    via GitHub by FlytxtRnD
    ,
    • java.lang.NoClassDefFoundError: org/jdom2/JDOMException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:633) at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:169) at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:192) at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:111) at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala) Caused by: java.lang.ClassNotFoundException: org.jdom2.JDOMException at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 7 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown UserUnknown User
    11 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    johnxflyjohnxfly
    3 times, last one,
    jf-astjf-ast
    1 times, last one,
    1447 more bugmates