项目中配置spring时async-supported报错:

web.xml配置文件中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">

 

相关文章:

  • 2021-12-03
  • 2022-03-02
  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
猜你喜欢
  • 2022-12-23
  • 2021-11-24
  • 2021-09-24
  • 2021-12-14
  • 2022-12-23
  • 2021-10-20
相关资源
相似解决方案