Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ClassNotFoundException: oracle.jdbc.driver.OracleDriver

Status
Not open for further replies.

cadbilbao

Programmer
Apr 9, 2001
233
ES
Hi.

I've got this piece of code into a servlet:

import java.sql.*;
...
Connection conn = null;
try
{
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection(
"jdbc:eek:racle:thin:mad:myserver:1521:SID",
"system",
"manager");

When starting Tomcat, I included into startup.bat:
set CLASSPATH=%CLASSPATH%;d:\orant\jdbc\classes102.zip (it exists)

But when executing the code, I get this error message:
ClassNotFoundException: oracle.jdbc.driver.OracleDriver

What am I doing wrong?

Thank you very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top