response code 500 when returning an object using @ResponseBody
问题 I'm fairly new to spring Restful programming The requirement to use the controller method as a rest service, so I'm trying to return an object in a JSON format, but for some reason I'm getting a response code as 500 with no errors and exceptions in log files. But it is successfully working if I the return type is of a string rather an object I'm using the jackson dependencies and I'm configuring in context file and in a assumption that converts the object to json format and puts in the