java.sql.SQLException: No suitable 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 GitHub by Jamlee
, 1 year ago
via Google Groups by Łukasz Zalewski, 7 months ago
No suitable driver
via Google Groups by Unknown author, 6 months ago
via Coderanch by Ankur Luthra, 1 year ago
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(
at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(
at org.apache.commons.dbcp.BasicDataSource.createDataSource(
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(
at org.hibernate.engine.jdbc.internal.JdbcServicesImpl$ConnectionProviderJdbcConnectionAccess.obtainConnection(
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(

Users with the same issue

Once, 2 months ago
10 times, 4 months ago
24 times, 8 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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