Thread: class not found

class not found

From
"Herman Visser"
Date:
Hello,
 
As a novice I tried using java with a postgresql 8.0 database on a W2K machine.
Burt onfortunately I'm not able to connect to the database. I tried Class.forName("postgressql.Driver") but I always get the classNotFoundException. I use the postgresql8.0.309.jdbc3.jar file.
 
I think I did the things described at http://www.postgresql.org/docs/7/static/jdbc.htm  but nothing works.
 
Can somebody help me with this problem ?
 
Thanks,
 
 
Herman Visser

Re: class not found

From
"Prasanth"
Date:
Class.forName("org.postgresql.Driver");
 
-Prasanth.
-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org]On Behalf Of Herman Visser
Sent: Thursday, March 10, 2005 3:37 PM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] class not found

Hello,
 
As a novice I tried using java with a postgresql 8.0 database on a W2K machine.
Burt onfortunately I'm not able to connect to the database. I tried Class.forName("postgressql.Driver") but I always get the classNotFoundException. I use the postgresql8.0.309.jdbc3.jar file.
 
I think I did the things described at http://www.postgresql.org/docs/7/static/jdbc.htm  but nothing works.
 
Can somebody help me with this problem ?
 
Thanks,
 
 
Herman Visser