• Register
0 votes

Problem :

My Java Servlet program showing the bellow Exception
java.lang.classnotfoundexception oracle.jdbc.driver.oracledriver
6 5 3
6,930 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.

9 7 4
38,600 points

Related questions

0 votes
1 answer 27 views
Problem: I have recently started working on spring jdbc application. I am very new to spring and also developing spring jdbc application. Because of some reason my driver class is not getting loaded. I am facing below error: "org.springframework.beans. ... jdbcTemplate" ref="jdbcTemplate"></property> </bean> </beans> Can someone help me in fixing above spring related error?
asked Jul 14 Raphael Pacheco 4.9k points
0 votes
1 answer 10 views
I am facing problem creating a jbdc driver of class. I want to connect it to url null.
asked Sep 22 Daniel Anderson 4k points
0 votes
1 answer 864 views
Problem : I am trying to pass the values from the servlet to jsp page But when I run the page I am facing below error: Error as below : java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed org.apache.catalina.connector. ... getRequestDispatcher("usertaskpage.jsp"); dd.forward(request, response); But still I got a same error. How can I fix above error?
asked Feb 3 jwilliam 3.9k points
0 votes
1 answer 1.3K views
Problem : I am a completely novice in the hibernate world and facing below error, WARN: GenerationTarget encountered exception accepting command : Error executing DDL via JDBC Statement org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL via JDBC Statement The ... hibernate 4 version all my code runs very well. I looked for many solutions but they are not working for me.
asked Feb 4 jwilliam 3.9k points