web.xml中<web-app>报错

错误:

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*)"

应严格按照icon?,display-name?,description?,distributable等等这种顺序添加节点!!!

posted @ 2018-07-03 21:09  机智的小八  阅读(2269)  评论(0编辑  收藏  举报