当前位置:   article > 正文

出现 Cannot deserialize value of type `java.time.LocalDateTime` from String 解决方法

cannot deserialize value of type `java.time.localdatetime` from string "2024

1. 问题所示

执行功能模块的时候,后端(浏览器)弹出如下提示

JSON parse error: Cannot deserialize value of type `java.time.LocalDateTime` from String \"2024-06-06\": Failed to deserialize java.time.LocalDateTime: (java.time.format.DateTimeParseException) Text '2024-06-06' could not be parsed at index 10; 
nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type 
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/运维做开发/article/detail/896726
推荐阅读
相关标签
  

闽ICP备14008679号