【异常】cvc-elt.1: 找不到元素 'beans'报错(ehcache-spring)
来源:互联网 发布:ubuntu登录界面循环 编辑:程序博客网 时间:2024/06/06 01:34
出错位置:
http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring/ehcache-spring-1.1.xsd">
首先查看是否引用这个jar包;没有引用的话添加POM依赖。
然后再使用浏览器打开连接看一下是否可以正常访问。
检查版本是否与引用的jar包版本一致。
配置文件头部配置的xsd版本信息不正确,造成解析时出错。spring头部xsd或dtd校验文件的查找分两步,第一先从本地jar包中找,如果找到则用本地jar包的进行校验(可以在spring-beans.jar或spring-context.jar里的META-INF下的spring-schemas文件中找到xsd文件位置的定义),如果没有找到则进行第二步查找,它会尝试从网络中下载该文件然后校验,如果系统断网或下载不下来,则会抛出上述异常.
如果本地检测没有的话会直接从网络中下载。
阅读全文
0 0
- 【异常】cvc-elt.1: 找不到元素 'beans'报错(ehcache-spring)
- 系统启动时,spring配置文件解析失败,报”cvc-elt.1: 找不到元素 'beans' 的声明“异常
- 系统启动时,spring配置文件解析失败,报”cvc-elt.1: 找不到元素 'beans' 的声明“异常
- 系统启动时,spring配置文件解析失败,报”cvc-elt.1: 找不到元素 'beans' 的声明“异常
- SSH问题:系统启动时,spring配置文件解析失败,报”cvc-elt.1: 找不到元素 'beans' 的声明“异常
- SAXParseException:cvc-elt.1:找不到元素“beans”的声明
- cvc-elt.1: 找不到元素 'beans' 的声明,错误解决方案
- Spring 配置文件报错: cvc-elt.1: Cannot find the declaration of element ""beans""
- spring项目启动报错 cvc-elt.1: Cannot find the declaration of element 'beans'.
- WAS下org.xml.sax.SAXParseException: cvc-elt.1:找不到元素“beans”的声明
- lineNumber: 8; columnNumber: 128; cvc-elt.1: 找不到元素 'beans' 的声明
- org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 105; cvc-elt.1: 找不到元素 'beans' 的声明。
- org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 63; cvc-elt.1: 找不到元素 'beans' 的声明。
- lineNumber: 5; columnNumber: 451; cvc-elt.1: 找不到元素 'beans' 的声明。
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'
- 关于JAVA中substring()和indexOf()的用法
- 《Spring揭秘》笔记——prototype作用域的“坑”
- 典型关联分析(Canonical Correlation Analysis)
- 排序之插入、归并、快速排序
- CSS样式覆盖规则
- 【异常】cvc-elt.1: 找不到元素 'beans'报错(ehcache-spring)
- instead of 触发器
- Android之Adapter解析
- 基于高德地图API实现车辆轨迹回放并显示实时坐标
- html2word html转换为word 使用docx4j
- ip的基本知识及dhcp服务器的配置
- Kotlin语法(二)
- HTML创建图像映射
- Spring MVC @RequestMapping注解详解