cannot deserialize instance of ‘java.lang.Long‘ out of START_OBJECT token
cannot deserialize instance of 'java.lang.Long' out of START_OBJECT token
·
cannot deserialize instance of 'java.lang.Long' out of START_OBJECT token

JSON 里面 {"id":5, "manageMeta":0, "pageNum":1, "pageSize":10}
但是我们这个项目里面,工程代码实体类这个ID字段是定义成java.lang.Long的
导致JSON对象 从web页面(客户端)传到(服务端)控制层反序列号失败了。
后来弄了一个 XxxxVo,里面的ID是Integer就没问题了。
昇腾计算产业是基于昇腾系列(HUAWEI Ascend)处理器和基础软件构建的全栈 AI计算基础设施、行业应用及服务,https://devpress.csdn.net/organization/setting/general/146749包括昇腾系列处理器、系列硬件、CANN、AI计算框架、应用使能、开发工具链、管理运维工具、行业应用及服务等全产业链
更多推荐


所有评论(0)