编程语言
首页 > 编程语言> > java.io.FileNotFoundException: class path resource cannot be opened because it does not exist.

java.io.FileNotFoundException: class path resource cannot be opened because it does not exist.

作者:互联网

IDEA+SSM项目构建

问题描述

org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [spring/applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [spring/applicationContext.xml] cannot be opened because it does not exist
	

解决办法

点击File→Project Structure将resources设置为资源文件夹重新部署即可。
在这里插入图片描述

标签:xml,applicationContext,because,resource,opened,spring,path,class
来源: https://blog.csdn.net/YueYingGuang/article/details/95589545