简体   繁体   English

如何使 gwt-maven-plugin 解析 jetty-env.xml

[英]How to make gwt-maven-plugin to parse jetty-env.xml

I'm using gwt-maven-plugin, version 1.2 with GWT version 2.0.3.我正在使用 gwt-maven-plugin,版本 1.2 和 GWT 版本 2.0.3。 When I run it in hosted mode (Jetty) I can't get it to load my jetty-env.xml file.当我以托管模式(Jetty)运行它时,我无法让它加载我的 jetty-env.xml 文件。

Any clues about that?有什么线索吗?

With that GWT and Maven plugin versions the embedded jetty igonres thw file /WEB-INF/jetty-env.xml, but same information can be used in the file /WEB-INF/jetty-web.xml. With that GWT and Maven plugin versions the embedded jetty igonres thw file /WEB-INF/jetty-env.xml, but same information can be used in the file /WEB-INF/jetty-web.xml.

So, renaming the file from "jetty-env.xml" to "jetty-web.xml" solved the issue.因此,将文件从“jetty-env.xml”重命名为“jetty-web.xml”解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM