Win a copy of Design for the Mind this week in the Design 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic