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.
>