ERROR: 13:11:06,320 WARN Failed executing GET /TravelService/get
org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type: com.travel.presentation.se
rvice.dto.Product of media type: application/json
Note: It does works when I use Jettison provider but I want to use Jackson provider instead.
Please help to solve this issue.
Thanks
Buddhika
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am going to introduce RestFul web service for a existing project and I have tried to use RestEasy with Jackson provider.
I am using following jars in JBoss 5.1.
resteasy-jaxrs 2.2.1.GA.jar
resteasy-jackson-provider.2.2.1.GA.jar
When I deploy the module I get the following warning and following error while invoking the service.
Warning :
2011-11-28 13:06:48,237 WARN (main) NoClassDefFoundError: Unable to load builtin provider: org.jboss.resteasy.plugins.providers.jackson.ResteasyJacksonProvider
ERROR:
13:11:06,320 WARN Failed executing GET /TravelService/get
org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type: com.travel.presentation.se
rvice.dto.Product of media type: application/json
Note: It does works when I use Jettison provider but I want to use Jackson provider instead.
Please help to solve this issue.
Thanks
Buddhika