JDBC Errors - Mailing list pgsql-jdbc

From Corey Mosher
Subject JDBC Errors
Date
Msg-id Pine.BSF.4.21.0103141350540.2051-100000@rage.hub.org
Whole thread Raw
Responses RE: JDBC Errors
List pgsql-jdbc
  Hi folks,
  Just wondering if I am reading the error correctly.

Hub>>java sample
Exception caught.
java.lang.ClassNotFoundException: org.postgresql.Driver
java.lang.ClassNotFoundException: org.postgresql.Driver
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:282)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:124)
        at sample.<init>(sample.java:10)
        at sample.main(sample.java:38)

I am assumung that this means the it isn't finding org.postgresql.Driver
in the postgresql.jar file.

Am I wrong?

Corey Mosher




pgsql-jdbc by date:

Previous
From: jlemcke@netspace.net.au
Date:
Subject: Re: serialized objects and JDBC driver
Next
From: "Charlie Derr"
Date:
Subject: RE: JDBC Errors