Programmers learn & share
0 votes

Problem :

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

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 (36.1k points)  
2,187 questions
2,514 answers
241 users