eclipse 打开项目,发现 xml 文件报错 Referenced file contains errors (http://www.springframework.org/schema/context/spring-context.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
这个红叉的报错并不影响项目运行,只是看着不太舒服

解决办法:
Window => Preferences => Validation

去掉XML Validator 和 XSL Validator 文件类型验证信息 的 √ ,即可


在Eclipse中打开项目时,xml文件报错但不影响项目运行。解决办法是通过Window => Preferences => Validation,去掉XML Validator和XSL Validator文件类型验证信息的勾选,以此消除报错红叉。
4914

被折叠的 条评论
为什么被折叠?



