摘要:
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
忍性而为
阅读(643)
评论(0)
推荐(0)

浙公网安备 33010602011771号