I noticed this glassfish error that is due to the REST methods where I return an object with which I produce json:
@GET
@Path("/myUrl")
@Produces("application/json")
MyObject getObject(@Context UriInfo info){
...
return new MyObject(...);
}
how to resolve this problem ?