eclipse Referenced file contains errors (http://www.springframework.org/schema/context/spring-context-3.0.xsd)

 

1.情景展示

  spring配置文件报错信息如下:

Referenced file contains errors (http://www.springframework.org/schema/context/spring-context-3.0.xsd). For more information, right click on the message in the Problems View and select "Show Details..." 

2.解决方案  

  错误方案:将spring配置文件引入的xsd版本降低成2.5

  其实根本没有必要。

  正确方式:重新编译一下项目即可以了。

  选中你要重新编辑的项目,选择“clean”,等待即可。

3.效果展示 

  报错提示已经没啦。

写在最后

  哪位大佬如若发现文章存在纰漏之处或需要补充更多内容,欢迎留言!!!

 相关推荐:

原文地址:https://www.cnblogs.com/Marydon20170307/p/11233183.html