1.情景展示

eclipse Referenced file contains_spring

  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

eclipse Referenced file contains_spring_02

  其实根本没有必要。

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

eclipse Referenced file contains_解决方案_03

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

3.效果展示 

eclipse Referenced file contains_解决方案_04

  报错提示已经没啦。

写在最后

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


 

作者:​​Marydon​​