Referenced file contains errors (http://www.springframework.org/schema/context/spring-context-3.2.xs

问题:Javaweb项目在myclipse中spirng配置文件 xml有小红叉Problems:Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd).解决:办法一:Eclipse 中选中项目点击 Progect –>clean 清理一下,删除缓存。

办法二: 这是由于缓冲造成的,里面有相关的配置和当前定义冲突,解决办法是清除缓存信息, 1:打开Preferences -> General -> Network Connections -> Cache:; 2:全选,然后点击按钮Remove All 按钮。 项目正常

办法三:将 Preferences > XML > XML Files > Validation中”Honour all XML schema locations”前的对号去掉。它将禁用指向不同schema位置相同命名空间引用的验证,仅以第一次找到的可验证的XML文件为结果。办法一或者二 不能解决的时候,时候办法三,可以解决。

猜你喜欢

转载自www.cnblogs.com/hawk-li/p/11077706.html