Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.1.xsd)

在eclipse部署maven项目的时候,xml文件有红叉,并显示错误

Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.1.xsd) 

 

解决方法

如果你的工具比较新,有可能是缺少标签,加上xml boday标签就ok。

 

如下图:

 

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念