0
点赞
收藏
分享

微信扫一扫

org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert val

c一段旅程c 2022-07-18 阅读 55


org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type ‘java.lang.String’ to required type ‘java.time.LocalDateTime’; nested exception is org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [@org.springframework.web.bind.annotation.RequestParam @org.springframework.format.annotation.DateTimeFormat java.time.LocalDateTime] for value ‘2019/10/24 14:42:04’; nested exception is java.lang.IllegalArgumentException: Parse attempt failed for value [2019/10/24 14:42:04]


举报

相关推荐

0 条评论