Eclipse中XML文件正确的情况下总是提示错误的解决办法

  • 错误信息: Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd).

  • 原因:这是由于文件缓存造成的,里面有相关的配置与当前定义冲突

  • 解决办法

    1. 打开Preferences -> General -> Network Connections -> Cache
    2. 全选,然后点击 Remove All 按钮
    3. 点击工程,右键Validate,报错消失
posted @ 2019-06-27 12:50  soundofcolors  阅读(3897)  评论(0编辑  收藏  举报