Re: Still baffled by a CONNECTion problem
От | Oliver Jowett |
---|---|
Тема | Re: Still baffled by a CONNECTion problem |
Дата | |
Msg-id | 434795A2.3080606@opencloud.com обсуждение исходный текст |
Ответ на | Still baffled by a CONNECTion problem ("Peter Cook" <ttpcook@hotmail.com>) |
Список | pgsql-jdbc |
Peter Cook wrote: > catch (ClassNotFoundException cnfe) > { > System.out.println("ClassNotFoundException."); > } > } > > The output from this code is as follows: > Classpath = C:\Eclipse\Workspace\Test > Classpath = C:\Eclipse\Workspace\Test;C:\Program > Files\PostgreSQL\8.0\jdbc\postgresql-8.0-311.jdbc3.jar > Drivers = C:\Program Files\PostgreSQL\8.0\jdbc > DriverDir is a directory > Driver is a file > > So: > - for some unknown reason my Eclipse editor has reset my CLASSPATH > - but despite this I am able to programmatically adjust the CLASSPATH > property to suit > - Java recognized the directory where I have installed the JAR file as a > valid directory and is able to locate the relevant driver file > > WHY WON’T IT LOAD the DRIVER????? Your sample output did not include the ClassNotFoundException output, so it seems to me that the driver actually loaded fine? -O
В списке pgsql-jdbc по дате отправления: