异常IOException parsing XML document from class path resource [xxx.xml]

Posted Archibald Witwicky

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了异常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
  • 1

2、总的来说,就是 ApplicationContext.xml 这个配置文件没找到 
到 web.xml 中去看,ApplicationContext.xml 配置的这一行是红线

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

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u013420865/article/details/58139332


以上是关于异常IOException parsing XML document from class path resource [xxx.xml]的主要内容,如果未能解决你的问题,请参考以下文章

IOException parsing XML document from class path resource [WebRoot/WEB-INF/applicationContext.xml];

Spring5Spring项目运行时报错:IOException parsing XML document from class path resource [bean.xml]

出错: IOException parsing XML document from ServletContext resource [/cn.mgy.conig]; nested exception

[Android] Android Build 时报错: java.io.IOException: Could not parse XML from android/accounts/annotati

springboot报错说 Failed to parse multipart servlet request; nested exception is java.io.IOException

springboot报错说 Failed to parse multipart servlet request; nested exception is java.io.IOException