Re: PostgreSQL Jdbc installation problems

From: "J(dot) Michael Crawford" <jmichael(at)gwi(dot)net>
To: "Ing(dot) Francesco Russo - NoCable S(dot)p(dot)A(dot)" <frusso(at)nocable(dot)it>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: PostgreSQL Jdbc installation problems
Date: 2004-08-05 15:33:35
Message-ID: 6.1.1.1.2.20040805113220.032c8e08@pop.suscom-maine.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


I personally have had to include the .jar file (not just the directory)
in my classpath statement before being able to use the jdbc driver. You
may have already tried this, but I figured I'd respond just in case.

- Mike

At 11:04 AM 8/5/2004, Ing. Francesco Russo - NoCable S.p.A. wrote:
>Hi all,
>i have some problems with PostgreSQL jdbc drivers. I have a PostgreSQL 7.3
>on a server and i want to connect to it from another server that has
>Tomcat 5 with JDK 1.4.2
>
>I have downloaded the jar file from jdbc.postgresql.org corresponding to
>my system features and i have copied it into a directory on my development
>machine (on this pc i use StrutsStudio to develop my web application). In
>StrutsStudio i have included in classpath this directory, but when i
>execute Class.Name("org.postgresql.Driver"), i got the exception
>"java.lang.ClassNotFoundException: org.postgresql.Driver".
>
>Can someone of you help me to understand if i miss some steps?
>Thank you
>
>Francesco Russo

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2004-08-05 21:55:55 Re: UPDATE with JDBC fail
Previous Message Kris Jurka 2004-08-05 15:12:32 Re: PostgreSQL Jdbc installation problems