0

The error occured:

wrong entryjava.lang.ClassNotFoundException: oracle.jdbc.OracleDriver

Someone please explain the error, what are the conditions of it appearing how can I resolve it.

Apurva Jha
  • 25
  • 1
  • 6

1 Answers1

1

change connection to Connection

wawek
  • 1,577
  • 1
  • 13
  • 23
  • Done, after that I got the above error. Will you please help me to resolve the abpove one as well. – Apurva Jha May 20 '14 at 12:36
  • Looks like you don't have this class on your build bath. Do you have a jar containing oracle driver added to your build path? – wawek May 20 '14 at 12:43
  • I have have a jar contained in the /WEB-INF directory nowhere else though What is a build path? – Apurva Jha May 20 '14 at 14:06
  • Read this post first [ClassNotFoundException](http://stackoverflow.com/questions/13904103/java-lang-classnotfoundexception-oracle-jdbc-driver-oracledriver). If it won't help ask again with more details of your project's structure and what you do when this error occurs. – wawek May 20 '14 at 14:13
  • Do I need to add buildpath even though I am using just jsp i.e. to say I am not using any IDE for java and stuuf. Just JSP. – Apurva Jha May 20 '14 at 18:13
  • So did you check if you deployed built project with this lib inside? – wawek May 20 '14 at 20:23