【问题标题】:How to make gwt-maven-plugin to parse jetty-env.xml如何使 gwt-maven-plugin 解析 jetty-env.xml
【发布时间】:2011-11-18 23:58:30
【问题描述】:

我正在使用 gwt-maven-plugin,版本 1.2 和 GWT 版本 2.0.3。当我以托管模式 (Jetty) 运行它时,我无法让它加载我的 jetty-env.xml 文件。

有什么线索吗?

【问题讨论】:

    标签: gwt maven jetty


    【解决方案1】:

    使用 GWT 和 Maven 插件版本嵌入的 jetty igonres thw 文件 /WEB-INF/jetty-env.xml,但相同的信息可以在文件 /WEB-INF/jetty-web.xml 中使用。

    因此,将文件从“jetty-env.xml”重命名为“jetty-web.xml”解决了这个问题。

    【讨论】:

      猜你喜欢
      • 2012-08-31
      • 2011-05-01
      • 1970-01-01
      • 1970-01-01
      • 2012-11-27
      • 2011-05-30
      • 1970-01-01
      • 2014-04-23
      • 2015-06-06
      相关资源
      最近更新 更多