Bruce Hyatt wrote:
> try {
> // call to Class.forName no longer necessary
> Class.forName("org.postgresql.Driver");
> } catch (Exception e) {
> System.out.println("Error: " + e.toString()
> + e.getMessage());
> }
> This returns "Error: java.lang.ClassNotFoundException: org.postgresql.Driverorg.postgresql.Driver" when run.
Ok then, it's just your error printing code that's doubling up the class
name then.
You don't have the driver in your classpath.
-O