Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jersey Scanner Exception:Rest Webservice

 
Ben Dunne
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was following this tutorial

about deploying a web service using Jersey. I am using tomcat container and I am deploying this online. As in, not to my localhost.

When I try to call my web service via the url I get the stack trace below.

I have tried various other tutorials using different versions of Jersey including 1.7, 1.8 and 2.0(I know 2.0 has changes to how it’s called) but I keep getting this error about my URI. I tried removing my init parameters from the web xml but then I get class not found and runtime exception issues. The main error seems
Does anyone know how to solve this issue?


Class

Web xml



Here is my stack trace
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic