• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQLException: No suitable driver Found for jdbc:oracle:thin:@//localhost:1521/orcl

 
peter wong ka chon
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm tried to develop a Java EE application that connect to Oracel database fromw eb service class but there is SQLException: No suitable driver found for jdbcracle:thin:@//localhost:1521/orcl.

I have the ojdbc6.jar in the class path and i verified this in the jboss as deployment folder.

My application is EAR composes a war.

What wrong (root cause) with this?

Please help.

Thanks.
 
peter wong ka chon
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kindly provide help to this question.

Thanks.
 
Ivan Jozsef Balazs
Rancher
Posts: 979
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> No suitable driver found

The Oracle driver library is not present.
 
harshvardhan ojha
Ranch Hand
Posts: 157
1
Android Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
make sure you are loading the correct class also verify if your jar is present inside $JBOSS_HOME/server/default/lib/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic