报错信息:
Multiple annotations found at this line:
- Attribute "xmlns:xsi" must be declared for element type "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*)".
- Attribute "xsi:schemaLocation" must be declared for element type "web-app".
- Attribute "version" must be declared for element type "web-app".
- Attribute "xmlns" must be declared for element type "web-app".
spring4 web.xml报错 不知道什么问题求大神解答
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
4条回答 默认 最新
- zy_think123 2014-12-31 02:24关注
很明显了呀,应该是你的XML格式不正确,不符合它的要求,你看看你的IDE时候有提示呀,而且,一定要保证这种格式,因为XML是格式严格的
解决 无用评论 打赏 举报