• Register
Welcome to Kodlogs, programming questions and answer website.
0 votes
9 views

Problem :

My Java Servlet program showing the bellow Exception
java.lang.classnotfoundexception oracle.jdbc.driver.oracledriver
by (6.9k points)  

1 Answer

0 votes

Solution :

Did you copy the  classes12.jar in lib folder of your web application and set the classpath in eclipse.

Now right-click on project in Package explorer Build path -> and click on Add external archives...

Now select your ojdbc6.jar archive

Press OK

Now library should be referenced in the "Referenced Librairies" under the Package explorer. 
Now try to run your program again.

by (20.3k points)  
...