No converter found for return value of type: class java.time.LocalDateTime
@RequestMapping("/hello2")
@ResponseBody
public LocalDateTime handleRequest2(@RequestParam @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)LocalDateTime dateTime) throws Exception {
return dateTime;
}
(well ,i konw can write the return type as String) ,i guess spring framework have an util whic can convert an object to string , i just want to know how can i do ,to make the datetime convert string json.