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
解决办法 :
首先查看自己的资源文件(resource)图标是否是正确的
如果不是则在文件上右键→ Mark Dirextory as 打开选择正确的资源图标
我试了两次,先将resource改成 Resource root 后来改回来就解决了,项目可以正常启动