Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Errors while to Oracle Database

 
syed yusuff
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting two exceptions while connecting to oracle 10g database..

ClassNotfoundException and ServletException...

Can AnyOne help me out in solving this problem..

I used Tomcat 6.0.14 web server and Eclipse Helios IDE
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Syed,
Start with the ClassNotFound exception. Which class isn't found? Which jar is it in? Is that jar in your classpath?

ServletException could be anything. You'll need to post a stack trace on that one.
 
Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Syed,

add classes12.jar(which works for me when i get this error).

Happy coding.
 
syed yusuff
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rakesh Keerthi wrote:Hi Syed,

add classes12.jar(which works for me when i get this error).

Happy coding.



Yes, I added ojdbc14.jar file since it was in different folder it was not working, I found the solution for this.

Thanks for your reply...
 
syed yusuff
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Syed,
Start with the ClassNotFound exception. Which class isn't found? Which jar is it in? Is that jar in your classpath?

ServletException could be anything. You'll need to post a stack trace on that one.


I found the solution for this.

Surely i will post the stack trace when i face such issues..

Thanks for your reply....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic