cvc-elt.1: 找不到元素 'beans' 的声明
2016-01-26 16:31
591 查看
这次遇到的这个错误又坑爹又低级 , 是因为网上抄到了错误的xsd搞的.
这是网上抄到的
但这里的xsi:schemalocation是错误的 , location的L是大写的 , 改为如下 , 即可.
太坑爹了
这是网上抄到的
xsi:schemalocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.1.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.1.xsd 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">
但这里的xsi:schemalocation是错误的 , location的L是大写的 , 改为如下 , 即可.
xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.1.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.1.xsd 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">
太坑爹了
相关文章推荐
- 系统的平均并发用户数和并发数峰值如何估算
- ios界面UICollectionView
- 一台安装5.5与5.6报unknown variable 'log-slow-queries=/home/mysql/localhost-slow.log' 错解决方案...
- 一台安装5.5与5.6报unknown variable 'log-slow-queries=/home/mysql/localhost-slow.log' 错解决方案
- 又一版A+B
- 关于统计变换(CT/MCT/RMCT)算法的学习和实现
- 欢迎使用CSDN-markdown编辑器
- 第二课-过渡效果
- Hebb学习规则
- mysql sql_mode 汇总整理
- python模块系列之 - time,datetime,calendar
- Mysql 查看各个表格的数据量大小
- 期末练习赛 找数 数学+模拟
- 38.Which two statements are true regarding views? (Choose two.)
- HTML语义化:HTML5新标签——template
- Visual Studio Code之常备快捷键
- Qt学习笔记(一)
- FragmentPagerAdapter API
- 介绍MySQL Jdbc驱动的rewriteBatchedStatements参数
- matlab画图,变长坐标轴