这次遇到的这个错误又坑爹又低级 , 是因为网上抄到了错误的xsd搞的.

这是网上抄到的

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">

太坑爹了

最新文章

  1. Sublime Text3 安装markdown插件
  2. 图说设计模式(UML和设计模式)
  3. [LintCode] Add and Search Word 添加和查找单词
  4. Android studio VT-x is disabled
  5. [Java Web] 3、WEB开发之HTML基础程序试手
  6. JAVA类与对象(九)------多态
  7. wordpress可视化编辑器的开启/关闭
  8. Activity生命周期与状态保存
  9. 闪回还原点(Flashback Restore Point)
  10. GridView 无数据时,绑定提示
  11. 配置WifiConfiguration
  12. Android利用CountDownTimer类实现倒计时功能
  13. Python实现采集wordpress整站数据的爬虫
  14. 001-List,数组,Set,Map属性的映射
  15. 从源码安装git
  16. 【一天一道LeetCode】#217. Contains Duplicate
  17. valueOf函数详解
  18. EDI
  19. 你需要一点点CIL
  20. EFCore Owned Entity Types,彩蛋乎?鸡肋乎?之鸡肋篇

热门文章

  1. 安装了iis之后,打开默认网站http://localhost/要求输入用户名和密码解决办法
  2. 查找目录下的所有文件中是否含有某个字符串 linux
  3. SQLServer中临时表与表变量的区别分析
  4. 动态从数据库中获取数据填充Select
  5. 在同步中调用异步方法[.net 4.5]
  6. x2go
  7. OpenJudge计算概论-求出e的值
  8. wikioi 1205 单词倒排
  9. Excel 导入并导出结果集
  10. bootstrap3-typeahead 自动补全