[spring-mybatis.xml] cannot be opened because it does not exist.Spring MVC文件找不到


ssm-maven环境搭建,文件找不到的异常
严重: 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
本来不想发到博客上的,很多大神也都详细对此异常写了很多健谈了,但我费了好大劲才找到,可能对于一些人这只是小错误,对于我来说,一个程序员来说就是一次经验,所以分享给大家,千万不要犯这种低级错误
[spring-mybatis.xml] cannot be opened because it does not exist.Spring MVC文件找不到
说是低级,我这原因是配置环境的时候放错文件加了,原来我放到了test-resources下面了,所以提示文件找不到,鄙人如果有写的不好地方,请大神指点