【Idea导入maven web项目异常】IOException parsing XML document from class path resource [xxx.xml]


1、IDEA导入项目运行出现异常

org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [ApplicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [ApplicationContext.xml] cannot be opened because it does not exist
2、总的来说,就是 ApplicationContext.xml 这个配置文件没找到 web.xml 中去看,ApplicationContext.xml 配置的这一行是红线

3、因为没有在设置中配置资源文件的目录,所以找不到 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM