Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.2.xsd).

今天在使用 spring 配置文件出现了这个错误:Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.2.xsd). For more information, right click on the
message in the Problems View and select “Show Details…”

最后我是这样解决的:

  1. 打开Preferences -> General -> Network Connections -> Cache:;
  2. 点击按钮Remove All 按钮。
    这里写图片描述

好像是由于缓冲造成的,里面有相关的配置和当前定义冲突、刚开始都没有想到,找了好久~~~不知道大家遇到过这样的问题没有

posted @ 2017-02-17 22:30  赵先生不知何许人也  阅读(226)  评论(0)    收藏  举报