java error (No suitable driver found)

  1. You’ll need to load the driver somewhere. Class.forName("org.postgresql.Driver");
  2. You’ll need the postgresql driver .jar file in the classpath of your program.

Leave a Comment