spring的单元测试中的xml文件加载

ApplicationContext context = new ClassPathXmlApplicationContext("conf/spring/bean.xml");
Service service;
service=(Service)context.getBean("service");



欢迎关注公众号:Java后端技术全栈