tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Oracle classes not found
Date Thu, 15 Aug 2002 15:58:57 GMT
Hi,
Rename it to classes12.jar. ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Kenny G. Dubuisson, Jr. [mailto:kdubuisson@kcmria.com]
>Sent: Thursday, August 15, 2002 11:58 AM
>To: tomcat-user@jakarta.apache.org
>Subject: Oracle classes not found
>
>I now have Apache/Tomcat/JSDK up and running and I've copied Oracle's
>"classes12.zip" into Tomcat's "common/lib" directory.  I'm performing a
>test
>from an Oracle book and the compiler/code can't find the Oracle
classes.
>The code I'm running (saved in a file named "TestJdbc.java") is:
>
>package jdbc.driverTest;
>import java.sql.*;
>public class TestJdbc
>{
>   public TestJdbc ()
>   {
>      try
>      {
>         DriverManager.registerDriver (new
>oracle.jdbc.driver.OracleDriver());
>      }
>      catch (Exception e) {}
>   }
>}
>
>My compile statement is (from the Windows NT command prompt):
>"javac jdbc\driverTest\TestJdbc.java"
>
>The error I get is:
>jdbc\driverTest\TestJdbc.java:11: cannot resolve symbol
>symbol : class OracleDriver
>location: package driver
>    DriverManager.registerDriver
(new.oracle.jdbc.driver.OracleDriver());
>1 error
>^
>
>Any ideas?  Thanks,
>Kenny
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-
>help@jakarta.apache.org>


Mime
View raw message