104 Star 745 Fork 376

Pear Admin / Pear Admin Pro

 / 详情

fastjson升级1.2.45升级到1.2.83时报错

已完成
创建于  
2023-07-20 16:03

法相类型问题,有待大佬确认
升级fastjson
升级fastjson
遇到如下报错:
报错信息

Could not deserialize: autoType is not support. org.springframework.security.core.authority.SimpleGrantedAuthority; nested exception is com.alibaba.fastjson.JSONException: autoType is not support. org.springframework.security.core.authority.SimpleGrantedAuthority at com.alibaba.fastjson.support.spring.GenericFastJsonRedisSerializer.deseria
原因

回滚到1.2.45版本不报错了

评论 (1)

临江鱼 创建了任务
csc 任务状态待办的 修改为已完成
csc 任务状态已完成 修改为待办的
展开全部操作日志

这应该是fastjson版本问题.建议使用fastjson2

csc 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
1464089 zheshucheng 1630112361 992160 tostary 1670900808
Java
1
https://gitee.com/pear-admin/pear-admin-pro.git
git@gitee.com:pear-admin/pear-admin-pro.git
pear-admin
pear-admin-pro
Pear Admin Pro

搜索帮助