You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
com.alibaba.fastjson2.JSONException: class java.lang.String cannot be converted to class com.oddfar.campus.common.domain.entity.SysDictDataEntity
at com.alibaba.fastjson2.JSONArray.toList(JSONArray.java:1054)
at com.oddfar.campus.common.utils.DictUtils.getDictCache(DictUtils.java:40)
at com.oddfar.campus.framework.service.impl.SysDictTypeServiceImpl.selectDictDataByType(SysDictTypeServiceImpl.java:44)
at com.oddfar.campus.framework.service.impl.SysDictTypeServiceImpl$$FastClassBySpringCGLIB$$bed9f927.invoke()
期望的结果是什么?
不出现错误
简单的复现代码/链接(可选)
No response
日志记录(可选)
No response
补充说明(可选)
MYSQL禁用SSL,不知道是否与此有关
The text was updated successfully, but these errors were encountered:
请确保您已阅读以上注意事项,并勾选下方的确认框。
campus框架版本
1.1.9
本项目 campus-imaotai 版本
1.0.13
运行环境
CentOS
运行架构
ARM [64] (别名:AArch64 / ARMv8)
问题描述
点击任何链接出现JSON序列化错误,例如下:
GlobalExceptionHandler.java:64 |请求地址'/system/dict/data/type/sys_user_sex',发生未知异常.
com.alibaba.fastjson2.JSONException: class java.lang.String cannot be converted to class com.oddfar.campus.common.domain.entity.SysDictDataEntity
at com.alibaba.fastjson2.JSONArray.toList(JSONArray.java:1054)
at com.oddfar.campus.common.utils.DictUtils.getDictCache(DictUtils.java:40)
at com.oddfar.campus.framework.service.impl.SysDictTypeServiceImpl.selectDictDataByType(SysDictTypeServiceImpl.java:44)
at com.oddfar.campus.framework.service.impl.SysDictTypeServiceImpl$$FastClassBySpringCGLIB$$bed9f927.invoke()
期望的结果是什么?
不出现错误
简单的复现代码/链接(可选)
No response
日志记录(可选)
No response
补充说明(可选)
MYSQL禁用SSL,不知道是否与此有关
The text was updated successfully, but these errors were encountered: