idea检出Eclipse项目出现:[applicationContext.xml]等配置文件不存在问题

小白第一次用idea,配置svn后检出Eclipse项目运行时就出现了以下错误:

org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XMLdocument from class path resource [applicationContext.xml]; nested exception isjava.io.FileNotFoundException: class path resource[applicationContext.xml] cannot be opened because it does not exist

按以下两步操作即可:

1.添加配置

2.选中resources和src,然后点击Sources;

3.附带idea创建maven项目和web项目的链接(网上找的靠谱的):

1)使用idea创建Maven项目:

https://blog.csdn.net/qq_32040767/article/details/76572162

2)使用idea创建web项目:

https://blog.csdn.net/longshehe9319/article/details/78791200


猜你喜欢

转载自blog.csdn.net/qq694885382/article/details/80329862