I have an object that I\'d like to serve in JSON as a RESTful resource. I have Jersey\'s JSON POJO support turned on like so (in web.xml):
Moving jersey-json dependency to the top of the pom.xml solved this problem for me.
jersey-json
com.sun.jersey jersey-json 1.18.1