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。

如下图:

猜你喜欢

转载自blog.csdn.net/qq_36411874/article/details/100692092