spring4 web.xml报错 不知道什么问题求大神解答

图片说明

报错信息:
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".

很明显了呀,应该是你的XML格式不正确,不符合它的要求,你看看你的IDE时候有提示呀,而且,一定要保证这种格式,因为XML是格式严格的

如果确定是 web.xml里的节点,看看顺序是否错了。

后来怎么解决的?我也想知道

web-app这个节点前面不能有任何东西,包括注释