[spring-mybatis.xml] cannot be opened because it does not exist.Spring MVC文件找不到
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [spring-mybatis.xml]; nested exception is java.io.FileNotFoundException: class path resource [spring-mybatis.xml] cannot be opened because it does not exist |
---|
说是低级,我这原因是配置环境的时候放错文件加了,原来我放到了test-resources下面了,所以提示文件找不到,鄙人如果有写的不好地方,请大神指点