• Register
0 votes
106 views

Problem :

My Java Servlet program showing the bellow Exception
java.lang.classnotfoundexception oracle.jdbc.driver.oracledriver
6 5 3
6,930 points

Please log in or register to answer this question.

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 9 views
9 views
Solve this error.
asked Dec 19, 2020 TeamScript 13.5k points
0 votes
1 answer 477 views
477 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, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 29 views
29 views
I am facing problem creating a jbdc driver of class. I want to connect it to url null.
asked Sep 22, 2020 Daniel Anderson 4k points
0 votes
1 answer 5 views
5 views
Problem: Is anyone available to assist me and resolve this issue? java.lang.illegalstateexception: cannot call senderror() after the response has been committed
asked Apr 7 Ifra 24.4k points
0 votes
1 answer 1.8K views
1.8K 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, 2020 jwilliam 3.9k points
0 votes
1 answer 13 views
13 views
Problem : I am a completely novice in the hibernate world and facing this error: Generationtarget encountered exception accepting command : error executing ddl via jdbc statement .
asked Mar 13 Wafa Abu Yousef 6.1k points
1 vote
1 answer 38 views
38 views
Problem : HELP! I need help understanding this error: Error creating bean with name 'employeeRepositoryDAOImple': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0; nested exception is org.springframework.beans.factory. ... failed; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to open JDBC Connection for DDL execution
asked Mar 12 Shovo210 14k points
0 votes
1 answer 50 views
50 views
Problem: why I cant fix this : Unable to create requested service [org.hibernate.engine.jdbc.env.spi.jdbcenvironment] .
asked Mar 6 Wafa Abu Yousef 6.1k points
0 votes
1 answer 2.3K views
2.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, 2020 jwilliam 3.9k points