关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 15601|回复: 1

2.4.6版本 同步钉钉用户到本地报错

[复制链接]
发表于 2021-9-14 20:34:30 | 显示全部楼层 |阅读模式
java.lang.ClassCastException: com.alibaba.fastjson.JSONObject cannot be cast to com.jeecg.dingtalk.api.department.vo.Department
        at com.jeecg.dingtalk.api.department.JdtDepartmentAPI.listAllGetChildren(JdtDepartmentAPI.java:243)
        at com.jeecg.dingtalk.api.department.JdtDepartmentAPI.listAll(JdtDepartmentAPI.java:232)
        at org.jeecg.modules.system.service.impl.ThirdAppDingtalkServiceImpl.syncThirdAppUserToLocal(ThirdAppDingtalkServiceImpl.java:349)
        at org.jeecg.modules.system.controller.ThirdAppController.syncDingtalkUserToLocal(ThirdAppController.java:181)
        at org.jeecg.modules.system.controller.ThirdAppController$$FastClassBySpringCGLIB$$124dc17a.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
        at org.jeecg.common.aspect.DictAspect.doAround(DictAspect.java:54)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
发表于 2021-9-16 09:39:04 | 显示全部楼层
同样遇到这样的问题,敢问阁下结局了吗
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表