Parameter value [1] did not match expected type
问题 In the Spring-boot project I try to pass as a request parameter a Date object and get this error: Parameter value [1] did not match expected type [java.util.Date (n/a)] This is the http-requset that i send: http://localhost:8080/moneyManager/customer/actionBetweenDates?startDate=2019/07/01&endDate=2019/07/30 This is the fuction that trigger in the rest: @RequestMapping(path="actionBetweenDates", method=RequestMethod.GET) public Collection<Action> getActionByDate(@RequestParam Date startDate,