Re: Failed Connection (again)

From: "George Koras" <gkoras(at)cres(dot)gr>
To: "Gonzo Programming" <GonzoRock--at--Excite--dot--com(at)mta5(dot)snfc21(dot)pbi(dot)net>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Failed Connection (again)
Date: 2001-06-14 08:15:42
Message-ID: 00e601c0f4aa$3af89080$1a49e98f@cres.gr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Forgive me for asking the obvious question, but does your CLASSPATH include
the pathname
of any of your .jar file copies? Should be the full pathname, not just the
path.

----- Original Message -----
From: Gonzo Programming
<GonzoRock--at--Excite--dot--com(at)mta5(dot)snfc21(dot)pbi(dot)net>

> 4a) I have renamed jdb7.0-1.1.jar to postgresql.jar and then copied that
> .jar file into as many places as seems reasonable and not so
reasonable(yes
> I have copies all over the place at present), yet still get this error at
> run time.
>
> H:\JavaLessons\ch18\fig18_24>java TableDisplayPG1
> Failed to load JDBC/ODBC driver.
> java.lang.ClassNotFoundException: org.postgresql.Driver
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> and about 10 more lines of errors...

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nelson Ferreira Jr 2001-06-14 12:37:12 Trouble with 7.1.2 JDBC driver
Previous Message Tom Lane 2001-06-14 01:03:11 Re: High memory usage