在MyEclipse中配置web.xml加上:
1、 http://www.springmodules.org/schema/cache/springmodules-cache.xsd
1、 http://www.springmodules.org/schema/cache/springmodules-cache.xsd
2、http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd
如下:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
http://www.springmodules.org/schema/cache/springmodules-cache.xsd
http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd "
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">