org.hibernate.HibernateException: JDBC Driver class not found: 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

Solutions on the web

via manning.com by Unknown author, 1 year ago
JDBC Driver class not found: com.mysql.jdbc.Driver
via Oracle Community by 843859, 1 year ago
JDBC Driver class not found: com.microsoft.jdbc.sqlserver.SQLServerDriver
via ejbca by dhal
, 1 year ago
JDBC Driver class not found: com.mysql.jdbc.Driver
via manning.com by Unknown author, 2 years ago
JDBC Driver class not found: com.mysql.jdbc.Driver
via Coderanch by damodar kumar, 1 year ago
JDBC Driver class not found: com.mysql.jdbc.Driver
via Stack Overflow by Aqif Hamid
, 1 year ago
JDBC Driver class not found: org.apache.derby.jdbc.ClientDriver
org.hibernate.HibernateException: JDBC Driver class not found: com.mysql.jdbc.Driver
at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:66)
at org.hibernate.tool.hbm2ddl.SchemaExport$ProviderConnectionHelper.getConnection(SchemaExport.java:431)
at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:130)
at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:99)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)

Users with the same issue

You are the first who have seen this exception.

Write tip

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