When you want to use Jersey’s GuiceContainer to serve requests at the root of your web application and still want to make sure your static resources are being passed through to the servlet container to be served make sure you add the following to your setup. NOTE, you have to use the GuiceContainer as a filter if you want to use PROPERTY_WEB_PAGE_CONTENT_REGEX.

filter(”/*”).through(

GuiceContainer.class,

ImmutableMap.of(JSONConfiguration.FEATURE_POJO_MAPPING, “true”,

ServletContainer.PROPERTY_WEB_PAGE_CONTENT_REGEX,

“/(images|css|js)/.*”));