zoukankan      html  css  js  c++  java
  • 解决:The content of element type "web-app" must match "(icon?display

    http://www.educity.cn/wenda/126463.html

    解决:The content of element type "web-app" must match "(icon ,display-

      错误:The content of element type "web-app" must match "(icon ,display-
    name ,description ,distributable ,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-
    mapping*,session-config ,mime-mapping*,welcome-file-list ,error-page*,taglib*,resource-env-
    ref*,resource-ref*,security-constraint*,login-config ,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
    - No grammar constraints (DTD or XML schema) detected for the document.

      web.xml头部配置:

      < xml version="1.0" encoding="UTF-8" >
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "">
    <web-app>

      原因:文档内容标签顺序不符合web-app_2_3.dtd规范

      解决方案

      1:严格按照提示上的顺序排列

      2:删除<!DOCTYPE 。。。。这段内容         

  • 相关阅读:
    ES6标准入门之正则表达式的拓展
    将博客搬至CSDN
    CUDA杂谈
    QT源码解析笔记
    图解DTS和PTS
    图解 I帧,B帧以及P帧
    这半年的一些事情
    C++的一些编程规范
    pjsip与QT进行适配
    编程规范检测脚本
  • 原文地址:https://www.cnblogs.com/manhuidhu/p/6845588.html
Copyright © 2011-2022 走看看