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

Jersey Scanner Exception:Rest Webservice  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!