HTTP Status 500 - Internal Server Error when return object

614 views Asked by At

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 ?

0

There are 0 answers