好好学习,天天向上!
摘要: ApplicationContext ac=new ClassPathXmlApplicationContext("applicationContext.xml"); MyAdviceImpl ad=(MyAdviceImpl) ac.getBean("ad");//类 FAIL ad.sayHello();Exception in thread "main" java.lang.ClassCastException: sun.proxy.$Proxy0 cannot be cast to dao.impl.MyAdviceImpl 阅读全文
posted @ 2013-08-09 04:12 忍性而为 阅读(636) 评论(0) 推荐(0) 编辑
好好学习,天天向上!