当前位置:   article > 正文

Cannot deserialize instance of java.lang.Integer out of START_OBJECT token_cannot deserialize instance of `java.lang.integer`

cannot deserialize instance of `java.lang.integer` out of start_object token

{
“timestamp”: “2022-06-30 09:34:46”,
“status”: 400,
“error”: “Bad Request”,
“message”: “JSON parse error: Cannot deserialize instance of java.lang.Integer out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.lang.Integer out of START_OBJECT token\n at [Source: (PushbackInputStream); line: 1, column: 1]”,
“path”: “/rightsCenter/rights-info/getRightsByConsultantId”
}

意思是传的是object 要转换成json,需要将对象转换成JSON

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/305404
推荐阅读
相关标签
  

闽ICP备14008679号