方法一:eclipse 中选中项目点击 Progect –>clean 清理一下,删除缓存。

 

方法二:eclipse 中将 Preferences > XML > XML Files > Validation中 '' Honour all XML schema locations " 的对号去掉(默认选中状态)。

更多推荐

Spring框架 xml配置文件 无辜报红叉解决方法