`
1154934572
  • 浏览: 65260 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类

java.lang.ClassCastException: $Proxy6 cannot be cast to com.vip.core.*

阅读更多
1、java.lang.ClassCastException: $Proxy6 cannot be cast to com.vip.core.service.StudentService.impl.StudentServiceImpl
方法:
ICMSDictService dictService = (CMSDictServiceImpl)context.getBean("ICMSDictService");
将上面获取到的Object强制转行为他的借口对象就可以了
ICMSDictService dictService = (ICMSDictService)context.getBean("ICMSDictService");


此处是因为我在用SSI框架时候再linstener中加载系统参数,出现的错误!


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics