Spring配置文件xml约束出错
来源:互联网 发布:英语句子成分解析软件 编辑:程序博客网 时间:2024/05/19 11:36
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.xsd', because 1) could not
- 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.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>.
在写Spring的配置文件时候出现这种错误。
从网上搜了一些,有的说是因为网络原因访问不到xsd文件,因为访问不到网络上的xsd文件,我们可以访问本地的啊,在引入的spring的包中spring-beans-3.2.2.RELEASE.jar中有spring-beans-3.0.xsd文件,其他的xsd文件也都能在相应的包中找到,这样就好说了,把xsd文件的引用全部改为本地文件,我们只需要在报错的地方把www去掉就行了。
阅读全文
0 0
- Spring配置文件xml约束出错
- Spring 配置文件xml文档的schema约束
- 关于Spring配置文件xml文档的schema约束
- 关于Spring配置文件xml文档的schema约束
- spring配置文件出错
- spring 配置文件出错
- Spring applicationContext.xml约束
- spring配置文件最全约束
- Spring 配置文件xxxx.xml文件中scheme约束exlipse自动加载不了的解决
- spring的XML配置文件
- spring加载xml配置文件
- spring配置文件applicationContext.xml
- Spring:加载xml配置文件
- Spring的XML配置文件
- spring-security.xml 配置文件
- spring配置文件 applicationContext.xml
- Spring配置文件-applicationContext.xml
- spring加载xml配置文件
- 链式前向星
- LeetCode 120
- HDU 4313 最小生成树
- 问题:使用docker时报错“net/http: TLS handshake timeout”的解决方案
- 3dsMax2018 SDK配置以及PluginWizard目标平台版本错误解决
- Spring配置文件xml约束出错
- c语言的数算据类型、运算符与表达式
- BZOJ1715 SPFA 浅谈图论之负环的多重化判定
- django 事务
- 使用C语言将pcm数据封装成wav文件
- DeepFace介绍
- Oracle数据库连接错误:ORA-12541:TNS:无监听程序
- 生成共用的一个Fragment
- linux 下maven安装