@ContextConfiguration(locations =
{ "classpath:applicationContext.xml",
"file:src/main/webapp/WEB-INF/dispatcherServlet-servlet.xml" })
无法找到文件
解决方法:换成绝对路径即可
亲测有效
@ContextConfiguration(locations =
{ "classpath:applicationContext.xml",
"file:src/main/webapp/WEB-INF/dispatcherServlet-servlet.xml" })
无法找到文件
解决方法:换成绝对路径即可
亲测有效