解决Multiple annotations found at this line: - schema_reference.4: Failed to read schema document

解决AapplicationContext配置文件报错,Multiple annotations found at this line: - schema_reference.4: Failed to read schema document ‘http://www.springframework.org/schema/context/spring-context-4.1.xsd’, because 1) could not find the document; 2) the document could not be read; 3) the root e

错误信息如下

解决Multiple annotations found at this line: - schema_reference.4: Failed to read schema document

解决办法

这里是因为spring架构包的问题,我们只需要加入一行代码即可
xmlns:dwr=“http://directwebremoting.org/schema/spring-dwr/spring-dwr-2.4.xsd”
解决Multiple annotations found at this line: - schema_reference.4: Failed to read schema document
这里是多少我们插入的这行代码最后就是多少.xsd

最终结果

解决Multiple annotations found at this line: - schema_reference.4: Failed to read schema document
这样我们就解决了这个问题。