JAX-RS Resource not found in GlassFish Server

前端 未结 2 1880
野性不改
野性不改 2021-01-12 13:56

I\'ve been trying to create a simple Restful WebService, using NetBeans Ide.
My Java EE Version is: Java EE 7 Web.

I created a new Java Web Application, setting

2条回答
  •  滥情空心
    2021-01-12 14:39

    You may have initialized some path in your web.xml, probably that is why you are getting a 404 error while you call the service. Do check your web.xml and in case it is set to anything rather then * then please append that to your service call to get it working.

提交回复
热议问题