I have disabled the web service that returns RETURN_OBJ.
However RETURN_OBJ, it itself contains several complex objects, such as listobjects from another class, maps, etc.
In that case, annotating the participating classes with @XmlRootElementand annotating the web service with is @Produces("application/json")enough?
Because just doing it does not work, and I get an error no message body writer found for class.
What is the reason, cause and solution to this error?
source
share