cvc-elt.1: Cannot find the declaration of element 'beans'Failed to read schema document 'http://www.springframework.org/schema/beans/spring- beans-3.0.xsd'
2018-07-08 18:26
1951 查看
Multiple annotations found at this line: - cvc-elt.1: Cannot find the declaration of element 'beans'. - schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring- beans-3.0.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>.
打开包的
--
吧xsd文件改为:
classpath:/org/springframework/beans/factory/xml/spring-beans-3.0.xsd
其他的也类似
相关文章推荐
- Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-3.1.xsd'
- Failed to read schema document 'http://www.springframework.org/schema/beans/spring- beans-3.2.xsd'
- Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans.3.0.xsd', b
- schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spri
- Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-3.1.xsd'
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.3.xsd)解決
- 【spring】spring配置文件命名空间(如:xmlns:beans="http://www.springframework.org/schema/beans")
- springmvc报错 发现了以元素 'mvc:exclude-mapping' 开头的无效内容。应以 '{"http://www.springframework.org/schema/mvc":mapping, "http://www.springframework.org/schema/beans":bean}' 之一开头。
- 关于:Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.2错的解决
- 在配置XML文件时出现reference file contains errors (http://www.springframework.org/schema/beans/...解决方案
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.2.xsd).
- hibernate 注解配置<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/X
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.1.xsd)
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd).
- 提示Failed to read schema document 'http://www.springframework.org/schema/util/spring-util-4.1.xsd解决方案
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd)
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.1.xsd)
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.3.xsd).
- 解决 schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/context