解决eclipse 的spring配置文件报错问题
这个问题一直很烦人
具体表现如下

1. 尝试百度解决
- 解决方案一
方式一:打开eclipse–>Project–>Clean ;清除一下
方式二:查看xml配置文件中的schemaLocation是否与eclipse配置的约束一致,查看Eclipse中XML配置约束(
1、window–>Preferences–>在搜索栏上输入XML---->
2、找到XML atalog–>右边出现一个XML Catalog的小框–>检查约束是否和XML文件中的一致,如果不一致则改成一致的
),经过此步骤,问题应该的到解决
方式三: 如果上述方法还没有解决问题,那么查看一下eclipse中的缓存,具体步骤 window–>Preferences–>cache–>把缓存全部清除
分析:方案二
说的好像是说配置文件中的xsi:schemaLocation的问题
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/aop http://ww