web.xml中<async-supported>报错异常

陌路散爱 提交于 2020-01-21 09:39:27

配置字符过滤器中<async-supported>报错异常

 

解决方案:

xmlns中再加两行

http://www.springmodules.org/schema/cache/springmodules-cache.xsd  
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"
xmlns="http://java.sun.com/xml/ns/javaee
http://www.springmodules.org/schema/cache/springmodules-cache.xsd
http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd"
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">

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!