This happens because Jersey cannot or doesn't know how to find Resource classes. Jersey has to be told the package name in which Resource classes are located. The most obvious way is to add an init-param to the web.xml file. But since I'm using Guice servlets, I wanted to do it in Guice-way.