Vijitha Kumara wrote:What is the environment/setup etc... you are using this? You might need to explain more details about other aspects involved here.
Ulf Dittmer wrote:The <servlet-class> attribute needs to contain the fully qualified class name of the servlet - that includes the package information, which is currently missing.
I wouldn't mix a WebServlet annotation with a servlet declaration in web.xml - use one or the other, but not both.
Lastly, I don't think you can mix a servlet with a JAX-RS service in the way you do (nor should you, even if it works). Have you tried creating a JAX-RS service without making it a servlet?