Hi
I am writing my first REST program using Jersey 2.22 and Glassfish 4.While running with URI in the browser, I am getting 404 exception. When I debug, I can reach my resource but not sure why '404 Not found exception' is generated. I am trying to fix the issue but not succeeded so seeking your help.
Here is the URI, I am using to get the resource (service) --
http://localhost:8080/JAXRS_Servlet_2.4/firstJersey/startUp/sayHello
My resource file is,
My Web.xml is
Below is the optional file which I used to switch between "packages" in web.xml and class with @ApplicationPath annotation
Please try to help on how to fix the issue.
Thanks in Advance.