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 》如下圖把指定位置複選框勾選去掉
注意:應用後,當上圖指定位置重新勾選回來時,紅叉也不會再出現