java中接收java.util.Date类型的参数,报错Can not deserialize value of type java.util.Date from String

1. 问题 SpringBoot工程(其实跟SpringBoot没有关系),在controller中指定了接收参数类型为java.util.Date,可是前端无论是发来日期字符串仍是时间戳,都报错Failed to convert property value of type java.lang.String to required Date前端 2. 缘由分析 SpringMVC不能自动转换日期
相关文章
相关标签/搜索