servlet web.xml 标签处报错
报错如下
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 代码符合xml的规范,但是不符合dtd的规范,换一个版本试试,或者直接删了就不报错了