项目中配置spring时async-supported报错:
是因为<async-supported>true</async-supported>是web.xml 3.0的新特性,所以更改web.xml头部文件如下即可:
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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_3_0.xsd"
id="WebApp_ID" version="3.0">