web.xml 中 web-app 标签报错
web-app 报错
The content of element type "web-app" must match……
问题原因
- 没有按照 web-app_2_3.dtd 规范来写 web-app 标签。
解决方法
- 按照规范来写,即按照错误信息中的标签出现顺序编写 web-app 标签。
- 改用新版本 web-app 标签(各版本 web-app 标签)。
The content of element type "web-app" must match……