java.lang.ClassNotFoundException: travel.Animal

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert 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}

,
Expert 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.

Solutions on the web

via Oracle Community by 3004, 1 year ago
travel.Animal
java.lang.ClassNotFoundException: travel.Animal
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)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1282 times, 8 hours ago
Samebug visitor profile picture
Unknown user
Once, 2 days ago
Once, 5 days ago
321 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.