java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

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

jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.

,
Expert tip

The server rejects all jars that already belong to the server runtime (such as tomcat-**.jar, servlet**.jar). Consider substituting the CORS filter you're using for this one: https://goo.gl/ctQ7Fs

Solutions on the web

via Stack Overflow by hosein EY
, 1 year ago
via Coderanch by preethi Ayyappan, 1 year ago
com.mysql.jdbc.Driver not found in [file:/usr/share/java/libgcj-3.4.3.jar, file:./, core:/]
via Coderanch by vainu siva, 1 year ago
com.mysql.jdbc.Driver not found in [file:/usr/share/java/libgcj-3.4.3.jar, file:./, core:/]
via Coderanch by Balasubramanian Chandrasekaran, 1 year ago
com.mysql.jdbc.Driver not found in [file:/usr/share/java/libgcj-3.4.3.jar, file:./, core:/]
via Stack Overflow by user165210
, 1 year ago
com.mysql.jdbc.Driver
via Stack Overflow by Akshay Sood
, 2 years ago
com.mysql.jdbc.Driver
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

Users with the same issue

Once, 16 hours ago
2 times, 3 days ago
2 times, 3 days ago
Once, 4 days ago
Once, 4 days ago

Write tip

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