Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RESTful with maven eclipse jersey tomcat problems  RSS feed

 
Mikael Molin
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an old RESTfull project that i did 1 1/2 years ago, and it was working perfect, now when i was trying to run the program again after some time ( not touched one single line of code), tomcat failed to even start , after some googling i updated all the jar version and i got tomcat to start but then i got this error instead at http://localhost:8080/shoppa/
anyone has any ideas ?

and this error in theconsole

here is my pom.xml


Here is my web.xml




 
Vijitha Kumara
Saloon Keeper
Posts: 3997
42
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a CNF so you need to check whether you have the correct Jersey version which hold this servlet class. There seems to be a difference in packaging Jersey 1.x & 2.x. Check whether you have the correct versions of jar files in relevant lib directories inside the Tomcat, that should solve the issue.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!