Spring项目出现Referenced file contains errors的 解决方法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/guocunlei25/article/details/79639219

Sring项目中配置文件出现:Referenced file contains errors...问题,运行项目的时候并没有错误,出现红色的x看起来很不舒服,在网上看的解决方法是清除Cache,结果还是报错,反复搞了很久终于解决了:

解决方法:

Window--Preferences--搜索“Validation”,去掉XML Validator 和 XSL Validator 等文件类型的验证信息(包括Manual和Build),如下图所示:


猜你喜欢

转载自blog.csdn.net/guocunlei25/article/details/79639219