• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RESTful with maven eclipse jersey tomcat problems

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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




 
Bartender
Posts: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic