Spring加载启动配置文件

加载beans.xml文件:

1 ApplicationContext applicationContext = new ClassPathXmlApplicationContext("beans.xml");

 

posted @ 2018-06-03 13:14  呦,可以呦  阅读(622)  评论(0编辑  收藏  举报