【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、因为没有在设置中配置资源文件的目录,所以找不到 

猜你喜欢

转载自blog.csdn.net/yang5726685/article/details/83507422
今日推荐