web.xml中提示错误The content of element type "web-app" must match
来源:互联网 发布:中国地图标注软件 编辑:程序博客网 时间:2024/05/16 15:40
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*)".
上面这段的意思是在Web.xml中<web-app>标签的元素个数和排序规则是有限制的,大多数情况下出现该错误的原因是元素排放顺序有误,解决其实也很简单,按照上面的描述将各元素排序即可。排序方式记不住没关系,常用的几个可以发现排序的规律,貌似和首字母相关的样子。按照首字母进行排序还有错误就严格的对照上面的提醒中的顺序就可以了。
0 0
- web.xml中提示错误The content of element type "web-app" must match
- 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
- SpringMVC+idea中web.xml文件的The content of element type "web-app" must match问题
- xml之解决The content of element type "web-app" must match "(icon?,display......方案
- struts.xml错误提示:The content of element type "package" must match "(result-types?,interceptors?,defaul
- The content of element type "web-app" must match……问题之解决办法
- 解决The content of element type "web-app" must match "(icon?,display
- 解决The content of element type "web-app" must match "(icon?,display
- 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 "(icon?,display-name?,description?,distributable?,c
- The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,c
- VMware虚拟机Ubuntu系统与物理机Windows 7系统共享文件夹
- 关于对dw的感想
- 有限状态机(FSM)
- 用标准dl,dt,dd标签抛弃table列表
- 过滤器详解
- web.xml中提示错误The content of element type "web-app" must match
- UEditor上传图片到项目外部目录-java
- HTML <ol> 标签的 type 属性
- ExpandableListView实现简单分组功能
- RMI(远程接口调用)
- swift之闭包(closure)
- ol元素及相关属性:type, start, value, 和reversed
- 高斯消元解线性方程组
- 关于 错误: 编码GBK的不可映射字符 的解决方法