Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@127.0.0.1:1521:XE

 
srinivas Doni
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi All,

I am new bee to hibernate ; and tried a sample to connect oracle 10g; and got following error

java.sql.SQLException: No suitable driver found for jdbcracle:thin:@127.0.0.1:1521:XE.

I add ojdbc14.jar in classpath.. Even though i am getting above error. I am unable to find this error.



complete error msg:



If any one knows , can help me to resolve this error.


from
sreeni
 
Philip Thamaravelil
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

What classpath did you add the oracle jar to? Your servlet container? jvm? webapp?

Where are your hibernate jars? Looks like a classpath issue.



Cheers,
Philip
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!