编程语言
首页 > 编程语言> > JSON parse error: Cannot deserialize instance of `java.lang.Long` out of START_ARRAY token;

JSON parse error: Cannot deserialize instance of `java.lang.Long` out of START_ARRAY token;

作者:互联网

JSON parse error: Cannot deserialize instance of java.lang.Long out of START_ARRAY token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.lang.Long out of START_ARRAY token at [Source: (PushbackInputStream); line: 1, column: 323] (through reference chain: com.jcgl.api.admin.user.domian.vo.UserUpdateVo[“deptId”])

传入的值不对,传入的值类型不是json类型,前端传与后端值的类型,不一样,无法解析

标签:lang,java,deserialize,Long,instance,Cannot,ARRAY,out
来源: https://blog.csdn.net/weixin_50644178/article/details/120377548