I have a restful web service, and the response is:
{
\"cities\": [{
\"id\": \"1\",
\"name\": \"City 01\",
\"state\": \"A1\"
}
Answer from Kim Burgaard above works also for Jersey Spring WS. I had the same problem using Glassfish 3.0 and solved it adding the parameter shown below.
Example web.xml
contextConfigLocation
classpath:applicationContext.xml
org.springframework.web.context.ContextLoaderListener
org.springframework.web.context.request.RequestContextListener
Jersey Spring Web Application
com.sun.jersey.spi.spring.container.servlet.SpringServlet
com.sun.jersey.config.property.packages
org.codehaus.jackson.jaxrs
Jersey Spring Web Application
/services/*
Example applicationContext.xml