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.效果展示

报错提示已经没啦。
本文来自博客园,作者:Marydon,转载请注明原文链接:https://www.cnblogs.com/Marydon20170307/p/11233183.html
浙公网安备 33010602011771号