Multiple annotations found at this line:
- schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/
spring-beans-3.1.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root
element of the document is not <xsd:schema>.
- schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/
spring-beans-3.1.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root
element of the document is not <xsd:schema>.
- cvc-elt.1: Cannot find the declaration of element 'beans'.
如上,在使用eclipse构建基于maven的springmvc 工程时,报上面的错误
查看spring报错的配置文件和maven依赖的Spring版本是否匹配。如下两张图: