java.lang.RuntimeException: java.lang.ClassNotFoundException:

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 \ {file location}


You are not deploying the oracle driver with the application. Place the driver jars in a shared or library extension folder of your application server. (You should go with option one or two though

Solutions on the web

via by Unknown author, 10 months ago
via by Unknown author, 1 year ago
via Stack Overflow by SangminKim
, 2 years ago
java.lang.ClassNotFoundException: mapred.MaxTemperatureMapper_v1
via Stack Overflow by JavaGuy
, 2 years ago
java.lang.ClassNotFoundException: com.mapreduce.spring.WordMapper
via Stack Overflow by abhinavkulkarni
, 2 years ago
java.lang.ClassNotFoundException: MapClass
via Stack Overflow by user2941276
, 2 years ago
java.lang.ClassNotFoundException: com.hadoop.basics.WordMapper
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at org.apache.hadoop.conf.Configuration.getClassByName(

Users with the same issue

Once, 1 week ago
Once, 1 month ago
Once, 2 months ago
Once, 2 months ago
5 times, 2 months ago

Write tip

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