java.lang.ClassNotFoundException

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

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

tip

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

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

  • Error configuración proyecto
    via openxava by xgonzalez
    ,
  • GitHub comment 77#34760503
    via GitHub by carterpage
    ,
  • GitHub comment 77#34760767
    via GitHub by carterpage
    ,
  • Glassfish 3.1.2 OSE on IBM J9 JVM
    via by petino,
  • Re: ZooInspector on Mac OS X
    via by Kevin Gao,
  • Error in spark-submit but not in pyspark
    via Stack Overflow by nanounanue
    ,
    • java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at > org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1366) at > org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315) at > org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source)

    Users with the same issue

    SacchiSacchi
    2 times, last one,
    zsambokizsamboki
    1 times, last one,
    PilleoPilleo
    2 times, last one,
    kimihanifkimihanif
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    304 more bugmates