Java教程

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类型,前端传与后端值的类型,不一样,无法解析

这篇关于JSON parse error: Cannot deserialize instance of `java.lang.Long` out of START_ARRAY token;的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!