Re: no suitable driver

From: Diego Gil <diego(at)adminsa(dot)com>
To: Roland Walter <rwa(at)mosaic-ag(dot)com>
Cc: umakanth parsi <umaparsi(at)yahoo(dot)com>, JDBC Postgresql <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: no suitable driver
Date: 2005-05-31 13:06:36
Message-ID: 1117544796.4773.3.camel@roadwarrior.adminsa.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

It seems to be a malformed or wrong URL to me. It happened once to me,
when wrote jdbc:postgresq://locahost instead of
jdbc:postgresql://localhost.

Diego.

El mar, 31-05-2005 a las 10:05 +0200, Roland Walter escribió:
> umakanth parsi schrieb:
> > Hi,
> >
> > I am using following JDBC driver for my application
> > C:\Program Files\PostgreSQL\8.0\jdbc\postgresql-8.0-311.jdbc3.jar , but
> > i am getting follwoing error
> > Beginning TPCW Database population.
> > Found Properties file C:\tpcw\populate\database.ini
> > java.sql.SQLException: No suitable driver
> > at java.sql.DriverManager.getConnection(Unknown Source)
> > at java.sql.DriverManager.getConnection(Unknown Source)
> > at TPCW_Populate.getConnection(TPCW_Populate.java:1145)
> > at TPCW_Populate.main(TPCW_Populate.java:115)
>
> Looks as if the jdbc-driver is not in the classpath.
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Greg Alton 2005-06-01 19:12:32 Backslashes in Strings being removed
Previous Message Myron Amon 2005-05-31 13:05:36 Экскурсионные прграммы ко Дню Независимости