在spring的配置头文件报出下面这个错误:
Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.2;
可能的原因是:
Spring的版本变更了,但是Eclipse的编译器还是使用之前缓存的spring-beans-**.xsd文件。
解决办法:
1) Preferences -> General -> Network Connections -> Cache;
2) 点击Eclispe头部菜单栏上的 Project 选择 clean 对应的项目既可以解决这个问题;