大概有这么几个点可以试一试
1:不要直接使用“appcationContext.xml”,要使用类似"com/itheima/jdbc/applicationContext.xml"这样的路径名来传入xml文件,你可以直接右击文件来复制路径;
2:查看一下xml文件里的value和ref这两个有没有搞混
3:可能会用到clean功能清除项目中缓存重新加载校验。 IntelliJ IDEA虽然比Eclipse功能上要强大很多,但还是会偶尔抽风的,IDEA并没有clean选项但与之对应的是:File-》invalidata Caches ->invalidata and Restart缓存将在下一次启动时失效并重新构建,当地历史也将被清除, 点击后自动重启就好了。


![IDEA中spring中class path resource [applicationContext.xml] cannot be opened because it does not exist IDEA中spring中class path resource [applicationContext.xml] cannot be opened because it does not exist](http://www.mshxw.com/aiimages/31/295049.png)
