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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting to Oracle with a servlet error

Status
Not open for further replies.

wittybanter

Programmer
Oct 25, 2005
3
CA
I am trying to connect to an Oracle DB with a Servlet (in Jbuilder 2006).
I am using JDBC: Class.forName("oracle.jdbc.driver.OracleDriver");
When I have this line in my code jbuilder gives me the classnotfoundException.

I can connect just great with a standard application - it compiles just fine with that line of code. I have a reference to the Classes12.jar in my project.

What I have read is that the Tomcat server needs that Classes12.jar file. I have added it to every lib folder that I can, but it refuses to 'see it' in jbuilder. I am running Windows XP.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top