1、问题:XML文件首行出现红叉,却不影响项目运行,但看着很不爽!
2、查看问题描述
Referenced file contains errors (http://www.springframework.org/schema/aop/spring-aop.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
3、解决方法
Window 》Preferences 》Validation 》如下图把指定位置复选框勾选去掉
注意:应用后,当上图指定位置重新勾选回来时,红叉也不会再出现