摘要: ApplicationContext context = new ClassPathXmlApplicationContext(new String[] { "classpath:applicationContext.xml" }); 这样的话执行main 方法的时候就会加载applicationC 阅读全文
posted @ 2018-01-12 14:21 月亮之城 阅读(220) 评论(0) 推荐(0) 编辑