Sunday, September 16, 2012

No message body writer has been found for response class

No message body writer has been found for response class
You need to add the following in maven:



<dependency>
        <groupId>org.codehaus.jackson</groupId>
        <artifactId>jackson-jaxrs</artifactId>
        <version>1.3.0</version>
</dependency>



Error serializing the response, please check the server logs, response class

Add the following:

              <dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-jaxrs</artifactId>
<version>1.9.9</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-xc</artifactId>
<version>1.9.9</version>
</dependency>

No comments:

Post a Comment