//maven加载spring test环境
public void initSpring() {
String path = "src/main/webapp/WEB-INF/";
String[] filePath = {path + "applicationContext.xml",
path + "dispatcher-servlet.xml",
path + "spring-quartz.xml"
};
ApplicationContext context = new FileSystemXmlApplicationContext(filePath);
}
public void initSpring() {
String path = "src/main/webapp/WEB-INF/";
String[] filePath = {path + "applicationContext.xml",
path + "dispatcher-servlet.xml",
path + "spring-quartz.xml"
};
ApplicationContext context = new FileSystemXmlApplicationContext(filePath);
}