Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class not found exception

 
Aashu Arya
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting this exception while loading my driver:

java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

I have also included the classes12.jar file for the applications class path.

Can anybody help me in this regard?
 
Vijitha Kumara
Bartender
Pie
Posts: 3918
10
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your URL and the connection String correct?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34974
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Aashu Arya:
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

I have also included the classes12.jar file for the applications class path.

These two statements conflict with each other. Can you explain how you added it to the classpath in case there is somewhere else to add it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic