java.lang.ClassNotFoundException

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.

  • any help 4 new bees
    via by 3004,
  • 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
    ,
  • parsing json input in hadoop java
    via Stack Overflow by Fraz
    ,
    • java.lang.ClassNotFoundException: travel.Animal at serp.util.Strings.toClass(Strings.java:195) at serp.util.Strings.toClass(Strings.java:129) at com.solarmetric.meta.ClassArgParser.parseClasses(ClassArgParser.java:77) at kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2657) at kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2603) at kodo.enhance.JDOEnhancer.main(JDOEnhancer.java:2575) Caused by: java.lang.ClassNotFoundException: travel.Animal at kodo.enhance.TemporaryClassLoader.loadClass(TemporaryClassLoader.java at kodo.enhance.TemporaryClassLoader.loadClass(TemporaryClassLoader.java at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:219) at serp.util.Strings.toClass(Strings.java:191) ... 5 more

    Users with the same issue

    zsamboki
    1 times, last one,
    Pilleo
    2 times, last one,
    kimihanif
    1 times, last one,
    Unknown visitor1 times, last one,
    SteVio1989
    2 times, last one,
    300 more bugmates