Re: Upgrading is a pain: JDBC Driver loading problems

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Michael Pede'" <mpede(at)sfu(dot)ca>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Upgrading is a pain: JDBC Driver loading problems
Date: 2001-11-05 14:21:27
Message-ID: 004501c16605$28091cc0$8201a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Michael,

Yes, that definitely is a problem. Is there any chance you can upgrade
to jdk 1.2, or 1.3.
I will fix the problem shortly.

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Michael Pede
Sent: November 1, 2001 2:36 PM
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [JDBC] Upgrading is a pain: JDBC Driver loading problems

Okay, I've just upgraded to PostgreSQL 7.1.3 and java version
"1.1.8". I'm trying to load the JDBC driver with both
Class.forName("postgresql.Driver") and
Class.forName("org.postgresql.Driver"). I get errors each time.

I have my CLASSPATH set up correctly.

For "postgresql.Driver" I get a ClassNotFoundException

For "org.postgresql.Driver" I get a NoClassDefFoundError, or more
specifically
java.lang.NoClassDefFoundError: java/util/ArrayList
at org.postgresql.core.ConnectionHook.<init>(Unknown Source)
at
at
at test.main(test.java:11)

Perhaps my postgresql.jar is corrupt, but it's the one that Debian
installed, I haven't touched it.

Any and all help is greatly appreciated.

Michael Pede
mpede(at)sfu(dot)ca

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2001-11-05 14:30:10 Re: question
Previous Message Bruce Momjian 2001-11-04 20:19:03 Re: [COMMITTERS] pgsql/ oc/src/sgml/client-auth.sgml oc/src/sgm