Maybe there's a problem with loading file. Switching to servlet.
Trouble with IDE. Removed Jersey and using Servlet.