aspose file tools*
The moose likes Object Relational Mapping and the fly likes java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@127.0.0.1:1521:XE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@127.0.0.1:1521:XE" Watch "java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@127.0.0.1:1521:XE" New topic
Author

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

srinivas Doni
Greenhorn

Joined: Jun 02, 2011
Posts: 23

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

Joined: Feb 09, 2006
Posts: 99

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@127.0.0.1:1521:XE