You need to set your classpath up to the file, not just the directory. It is
a bit picky.

eg, set classpath=%classpath%;c:\javastuff\oracle\classes12.jar

That should then work.

Stuart Stephen

-----Original Message-----
From: Teemu Keiski [mailto:[EMAIL PROTECTED]]
Sent: 16 April 2002 10:38
To: Tomcat Users List
Subject: RE: JDBC Drivers


I suppose you have to change the name of 'classes12.zip' file to
'classes12.jar'.

Teemu Keiski

-----Original Message-----
From: Richard Johnstone
[mailto:[EMAIL PROTECTED]]
Sent: 16. huhtikuuta 2002 12:34
To: [EMAIL PROTECTED]
Subject: JDBC Drivers


I don't know if I should post this here or not but here goes
I am trying to connect to an oracle DB using a thin connection.
I have downloaded the classes12.zip  file and put it in
$TOMCAT_HOME/common/lib but I am getting a
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
Do I need to put the class file elsewhere?



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to