Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Startup Error

 
Joe Harry
Ranch Hand
Posts: 10122
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

Why should I get this error during tomcat startup? I was under the impression that the JDBC driver would be automatically referenced as I use Spring JPA template in my project. Seems not to be the case. Do I have to copy the JDBC driver to tomcat lib directory?
 
Joe Harry
Ranch Hand
Posts: 10122
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Copying the Oralce JDBC driver to tomcat lib folder got rid of the problem. But facing another problem now. This time is a class incompatibility error.



Which jar does this refers to that it incompatible?
 
Joe Harry
Ranch Hand
Posts: 10122
3
Eclipse IDE Mac PPC Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got rid of the above error as well. There was a version conflict with the xwork-core.jar. Two different dependent libraries tried using a different version of the same jar which gave rise to the error above.
 
Rob Spoor
Sheriff
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for sharing the solution I never would have thought of that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic