解决(The content of element type "web-app" must match "(icon?display)
亦余心之所善兮,虽九死其犹未悔。这篇文章主要讲述解决: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.
【解决(The content of element type "
web-app"
must match "
(icon?display)】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 。。。。这段内容
推荐阅读
- Android-SQLite和SQLiteOpenHelper
- Android知识点(设置父控件事件拦截)
- Android中Sqlite数据库多线程并发问题
- android中的常见对话框
- Android系统资源图标android.R.drawable
- beginAppearanceTransition
- Android 数据库 大量插入 事务开启
- redis persistence 之 append only file
- 基于TCP的安卓服务器开发