解决The content of element type "web-app" must match "(icon?,display
来源:互联网 发布:电脑录制是视频软件 编辑:程序博客网 时间:2024/04/30 07:23
错误: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" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
原因:文档内容标签顺序不符合web-app_2_3.dtd规范
解决方案
1:严格按照提示上的顺序排列
2:删除<!DOCTYPE 。。。。这段内容
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" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
原因:文档内容标签顺序不符合web-app_2_3.dtd规范
解决方案
1:严格按照提示上的顺序排列
2:删除<!DOCTYPE 。。。。这段内容
- 解决The content of element type "web-app" must match "(icon?,display
- 解决The content of element type "web-app" must match "(icon?,display
- xml之解决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?,c
- The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,c
- The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,c
- web.xml配置bug之提示The content of element type "web-app" must match "(icon?,display- name?,description?,
- web.xml配置bug之提示The content of element type "web-app" must match "(icon?,display- name?,description?,
- The content of element type "web-app" must match "
- The content of element type "web-app" must match
- 解决web.xml 报错The content of element type "web-app" must match
- web.xml The content of element type "web-app" must match "
- web.xml 报错The content of element type "web-app" must match
- web.xml中提示错误The content of element type "web-app" must match
- The content of element type "web-app" must match……问题之解决办法
- The content of element type "web-app" must match……问题之解决办法
- The content of element type "web-app" must match……问题之解决办法
- The content of element type "web-app" must match……问题之解决办法
- Qt Class Reference [QtCore module] Qt类参考手册-其他定义(类型常量) 翻译中
- Hadoop目前的HA(High Availability)机制分析和源代码研究
- uBuntu下emacs配置及其嵌入式环境搭建
- 木质图标外框制作
- C#中Split用法
- 解决The content of element type "web-app" must match "(icon?,display
- Unix编程之size_t、ssize_t
- JSP基本功
- 常用的命令
- char device driver总结
- .net 中怎么用JAVASCRIPT取服务器控件的值
- strusts2 基础知识
- C#之静态成员和静态方法
- HDU 1285 拓扑排序-- 确定比赛名次