当前位置:   article > 正文

接口测试之响应报错JSON parse error: Can not deserialize value of type java.lang.Long from String,not a valid_json parse error: cannot deserialize value of type

json parse error: cannot deserialize value of type `java.lang.string` from a

{
status”: 500,
“message”: “JSON parse error: Can not deserialize value of type java.lang.Long from String “test”: not a valid Long value; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not deserialize value of type java.lang.Long from String “test”: not a valid Long value\n at [Source: java.io.PushbackInputStream@7b8f3bd3; line: 1, column: 445] (through reference chain: cn.ijiami.detection.VO.BatchUploadSaveVO[“assets”]->java.util.ArrayList[0]->cn.ijiami.detection.entity.TAssets[“category”])”
}

接口响应返回如上信息:
category参数值错误,请检查参数类型

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

闽ICP备14008679号