XML错误信息Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.0.xsd). For more information, right click on the message in the Problems View ...

 

错误信息:Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.0.xsd). For more information, right click on the message in the Problems View and 
select "Show Details..."

解决办法: 

将 Preferences > XML > XML Files > Validation中"Honour all XML schema locations"前的勾去掉。
它将禁用指向不同schema位置相同命名空间引用的验证,仅以第一次找到的可验证的XML文件为结果。

 

 


 
posted @ 2018-03-31 10:59  小奔的早晨  阅读(717)  评论(0编辑  收藏  举报