java.sql.SQLException: No suitable driver found for jdbc:postgresql://user:password@localhost:5432/postgres

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 Stack Overflow by Meredith
, 2 years ago
No suitable driver found for jdbc:postgresql://user:password@localhost:5432/postgres
via Stack Overflow by user2535293
, 2 years ago
No suitable driver found for jdbc:oracle:thin:@myhost:myport:dbalias
via Google Groups by Rajendra Singh, 2 years ago
No suitable driver
via mkyong.com by Unknown author, 8 months ago
No suitable driver found for jdbc:mysql://localhost:3306/feedback?user=root&password=mypass
via hivmr.com by Unknown author, 1 year ago
via Google Groups by Ratnakar Malla, 6 months ago
java.sql.SQLException: No suitable driver found for jdbc:postgresql://user:password@localhost:5432/postgres
at java.sql.DriverManager.getConnection(Unknown Source)
at scala.slick.session.Database$$anon$2.createConnection(Database.scala:105)
at scala.slick.session.BaseSession.conn$lzycompute(Session.scala:207)
at scala.slick.session.BaseSession.conn(Session.scala:207)
at scala.slick.session.BaseSession.close(Session.scala:221)

Users with the same issue

3 times, 2 weeks ago
10 times, 2 months ago
Once, 4 months ago
Once, 6 months ago
2 times, 6 months ago

Write tip

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