zoukankan      html  css  js  c++  java
  • CRM项目报错笔记——web.xml中<async-supported>报错

    错误一:

    cvc-complex-type.2.4.a: Invalid content was found starting with element 'async-supported'. One of

     '{"http://java.sun.com/xml/ns/javaee":init-param}' is expected.


    <async-supported>true</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">
    


    ---------------------
    作者:再远不过PC
    来源:CSDN
    原文:https://blog.csdn.net/douboomfly/article/details/70200740
    版权声明:本文为博主原创文章,转载请附上博文链接!

  • 相关阅读:
    杭电ACM 1197
    杭电ACM 1196
    杭电ACM题目分类
    杭电ACM 1178
    指针转化(二重)
    怎么查看一个类的内存分布
    how find out what is causing Visual Studio to think each project is out of date
    MSB8013
    File mapping
    SHFileOperation 解决double-null terminated
  • 原文地址:https://www.cnblogs.com/yanweichen/p/10048297.html
Copyright © 2011-2022 走看看