错误信息:org.springframework.Http.converter.HttpMessageNotReadableException: JSON parse error: Cannot de
错误信息:org.springframework.Http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize value of type java.lang.Integer
from Object value (token jsonToken.START_OBJECT
); nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type java.lang.Integer
from Object value (token JsonToken.START_OBJECT
)
出错原因:测试时 workStatus为空,导致报错。
解决方法:去掉空值即可。
来源地址:https://blog.csdn.net/weixin_44508895/article/details/130195442
--结束END--
本文标题: Cannot deserialize value of type `java.lang.Integer` from Object value (token `JsonToken.START_OBJEC
本文链接: https://www.lsjlt.com/news/414296.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-04-03
2024-04-03
2024-04-01
2024-01-21
2024-01-21
2024-01-21
2024-01-21
2023-12-23
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0