SpringMVC整合ehcache报错:Multiple annotations found at this: -cvc-complex 'ehcache:annotation-driven'
来源:互联网 发布:zanti网络渗透工具 编辑:程序博客网 时间:2024/06/07 01:05
1、将ehcache-spring-annotations-1.2.0.jar拷贝到项目的lib目录下;
2、选择elcipse的window-->preferences->xml->XML Catalog,点击进入;
3、选择User Specified Entries,单击添加,然后, 在弹出的对话框相应位置填入
Location: 项目名称/src/main/webapp/WEB-INF/lib/ehcache-spring-annotations-1.2.0.jar!/com/googlecode/ehcache/annotations/ehcache-spring-1.1.xsd
Key Type: Schema Location
Key: http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring
4、重复3操作,相应位置填入
Location: 项目名称/src/main/webapp/WEB-INF/lib/ehcache-spring-annotations-1.2.0.jar!/com/googlecode/ehcache/annotations/ehcache-spring-1.1.xsd
Key Type: Schema Location
Key: http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring/ehcache-spring-1.1.xsd
至此,便可解决。
注:项目名称换成自己的工程名
- SpringMVC整合ehcache报错:Multiple annotations found at this: -cvc-complex 'ehcache:annotation-driven'
- SpringMVC整合DWR时出现这样的错误Multiple annotations found at this line: - cvc-complex-type.2.4.c
- Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is stri
- xml报错-Multiple annotations found at this line
- 解决Jsp报错:Multiple annotations found at this line
- eclipse报错multiple annotations found at this line
- maven报错Multiple annotations found at this line
- xml报错-Multiple annotations found at this line
- pom.xml 报错:Multiple annotations found at this line
- pom文件报错 Multiple annotations found at this line:
- jsp报错:Multiple annotations found at this line
- maven报错Multiple annotations found at this line
- jsp页面报错Multiple annotations found at this line:
- jsp编译报错:Multiple annotations found at this line:
- SpringMVC整合DWR时出现这样的错误Multiple annotations found at this line:
- Multiple annotations found at this line: - cvc-elt.1: Cannot find the declaration of element 'ehcac
- Maven pom.xml报错 Multiple annotations found at this line
- spring+maven 报错 Multiple annotations found at this line: 解决办法
- [Leetcode] 5 - Longest Palindromic Substring
- android开发之 Drawer侧边菜单实现
- jedis中陷阱
- chrome插件one-read开发3-提升
- Keil C51中断编程中寄存器组的选用与保护
- SpringMVC整合ehcache报错:Multiple annotations found at this: -cvc-complex 'ehcache:annotation-driven'
- Cocoa中的NSUndoManager
- Oracle 11g 默认不给空表分配空间,exp导出备份不导出空表!
- Android 蓝牙
- "Failed to load session “ubuntu"问题解决总结
- 1>/dev/null 2>&1的含义
- poj 1149 PIGS
- InoReader——网页无法打开
- Quartz资源整理