No provider classes found: when running Jersey REST example application

前端 未结 1 1344
孤街浪徒
孤街浪徒 2020-12-21 10:33

I tried working on it. But,not able to figure out the issue since I\'m quite new to this. I have attached several screenshots to see the issue I\'m facing right now.

相关标签:
1条回答
  • 2020-12-21 11:12

    The lack of providers is not relevant, it just means you don't have any.

    You have an index.jsp, but if you mapped the Jersey filter at the context root (/), it's rightfully saying there's no resource there - based on your screenshots you only have one resource, starting at /emp which has sub-resources for the CRUD operations at deeper paths.

    Edit: On second look, your index.jsp is in WEB-INF. I don't think it should be based on the fact you appear to be trying to get a simple example together.

    So, what do you expect to see at /JerseyRESTCRUD/?

    0 讨论(0)
提交回复
热议问题