java.lang.ClassCastException: sun.proxy.$Proxy11 cannot be cast to分析
摘要:
报这个错,只有一个原因,就是你转化的类型不对. 如果你的类是一个单实体类,也就是没有继承或是接口别的类. public class HjmServiceImpl {} 那么这样写就可以: HjmServiceImpl service = (HjmServiceImpl)ctx.... 阅读全文
posted @ 2013-07-15 15:54 王大王 阅读(439) 评论(0) 推荐(0)