关于xmlbeanfactory过时 请教大神
spring吧
全部回复
仅看楼主
level 1
ClassPathResource resource = new ClassPathResource("bean.xml");
XmlBeanFactory factory = new XmlBeanFactory(resource);
这样写怎么报错了,提示过时。
2014年06月15日 15点06分 1
level 1
我试了一下没有问题
2014年07月17日 02点07分 2
level 8
重新启动一下项目试试
2014年07月18日 02点07分 3
level 1
Spring 3.1以后已经废弃了XmlBeanFactory这个类了
2015年10月19日 05点10分 4
现在用什么代替?
2016年08月05日 08点08分
@景色分明▫ DefaultListableBeanFactory+XmlBeanDefinitionReader 方式
2016年09月23日 02点09分
1