Hello,
I have the following rest method which returns a boolean json response.
@GET @Path("/isValid/{id}")
@ProduceMime({"application/json"})
public boolean isValid(@PathParam("id") String id) {
return true;
}
But, it fails with the following error.
SEVERE: A message body writer for Java type, class java.lang.Boolean,
and MIME m
edia type, application/json, was not found
Am I missing any jars specific to this error? I have jettison in my
classpath.
Thank you
Arul