【问题标题】:EMF2DOMAdapterImpl_ERROR_0 Websphere Application Server WAS (V8.5) DeploymentDescriptorLoadException: WEB-INF/web.xmlEMF2DOMAdapterImpl_ERROR_0 Websphere Application Server WAS (V8.5) DeploymentDescriptorLoadException: WEB-INF/web.xml
【发布时间】:2020-02-20 06:48:47
【问题描述】:

Websphere Application Server V 8.5 无法以某些 web.xml 结构启动。

当前 DOCTYPE 使用 http://java.sun.com/dtd/web-app_2_3.dtd

【问题讨论】:

    标签: websphere web.xml was deployment-descriptor


    【解决方案1】:

    此错误主要发生在 web.xml 部署描述符有问题时。 此问题是由于 web.xml 中的无效标签引起的,这可能是由于多种不同的原因,例如:

    不应有重复的标签

    • 会话配置
    • 欢迎文件列表
    • jsp 配置
    • 登录配置
    • 语言环境编码映射列表

    Web.xml 不应该在部署描述符中的一个 servlet-mapping 标记下有多个 url-pattern。如果您在一个 servlet-mapping 下有大约 3 - 4 个 url-patterns,请将其移至包含一个 url-patterns 的多个 servlet 映射。

    有关更多调试信息,您可以查看 AppServer\profiles\AppSrv01\logs\server1\SystemErr 中的日志

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-07-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-05-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多