I have a problem with the Circular link.
I have Rest Webservices that returns objects to the front, the problem is that I'm trying to return objects that have multiple links, so that as a result I get an endless response that generates
java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
Objects are automatically generated using Hibernate Code Generation, and I need to have a circular link in the backend, I just need to delete it before sending the information to the external interface using Jackson.
Controller Header:
@RequestMapping(value="/list", method=RequestMethod.POST) public @ResponseBody eventResponse list(@RequestBody String sessionID) {
I am not doing anything to convert to Json, I am new to this and I think Jackson solved this automatically.
java json jackson circular-reference
Faabass Jun 30 '13 at 19:00 2013-06-30 19:00
source share