java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

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}

,

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 Coderanch by David Clapper, 1 year ago
via Oracle Community by sunnycode, 11 months ago
oracle.jdbc.driver.OracleDriver
via Oracle Community by 843854, 11 months ago
oracle.jdbc.driver.oracleDriver
via Oracle Community by Phulsebosch, 1 year ago
oracle.jdbc.driver.OracleDriver
via hivmr.com by Unknown author, 1 year ago
via Oracle Community by 843804, 1 year ago
oracle.jdbc.driver.OracleDriver
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at iris.crp.View.getData(View.java:12)
at iris.crp.IRISRunnable.run(IRISRunnable.java:31)
at java.lang.Thread.run(Thread.java:534)

Users with the same issue

24 times, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
2 times, 2 months ago
1421 more bugmates

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