users@jersey.java.net

[Jersey] Re: Using Jackson 2.1 JSON provider: No root resource classes

From: Marko Asplund <marko.asplund_at_gmail.com>
Date: Thu, 21 Mar 2013 13:52:28 +0200

Seems my Application class implementation was faulty and the answer
was found in the documentation:

http://jersey.java.net/nonav/documentation/1.17/jax-rs.html#d4e188

Another way to use Jackson 2.1 this seems to be to remove the
jersey-json lib from your webapp and add jackson-core and
jackson-jaxrs-json-provider (+dependencies). The latter appears to
automatically register a JSON provider.

marko