彳亍142875 2014-12-26 02:34 采纳率: 0%
浏览 7984

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".

  • 写回答

4条回答 默认 最新

  • zy_think123 2014-12-31 02:24
    关注

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

    评论

报告相同问题?

悬赏问题

  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料