tomcat - 如何从 https ://github. com/ArcBees/GWTP-Samples 部署 gwtp 样本

标签 tomcat gwt gwtp

我从 https://github.com/ArcBees/GWTP-Samples 下载了样本我通过 Run As > Maven build 运行 gwtp-sample-basic 应用程序,使用 Maven objective-c lean gwt:run。它打开 super 开发模式控制台,我可以从中“在默认浏览器中打开”应用程序。但是现在我想将应用程序部署到 Tomcat 8 服务器。我该怎么做?

最佳答案

mvn clean package?严重地。在您有兴趣部署到 Tomcat 的每个项目中运行它以生成 war 文件 - 见下文。

~/GWTP-Samples> find . -name *.war
./gwtp-samples/gwtp-sample-mobile/target/gwtp-sample-mobile-2.0-SNAPSHOT.war
./gwtp-samples/gwtp-sample-basic/target/gwtp-sample-basic-2.0-SNAPSHOT.war
./gwtp-samples/gwtp-sample-basic-spring/target/gwtp-sample-basic-spring-2.0-SNAPSHOT.war
./gwtp-samples/gwtp-sample-crawler-service/target/gwtp-sample-crawler-service-2.0-SNAPSHOT.war
./gwtp-samples/gwtp-sample-nested/target/gwtp-sample-nested-2.0-SNAPSHOT.war
./carstore/target/carstore-1.6-SNAPSHOT.war
./multimodule/aggregate/target/aggregate-2.0-SNAPSHOT.war

关于tomcat - 如何从 https ://github. com/ArcBees/GWTP-Samples 部署 gwtp 样本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43616989/

相关文章:

java - 注入(inject)构造函数时出错,java.lang.NoClassDefFoundError : com/thoughtworks/xstream/io/HierarchicalStreamDriver in Spring MVC

gwt - Groovy 和 GWT : Combining both paradigms

java - 无法在 apache tomcat 上运行 servlet。它说,请求的资源不可用

java - 在 Tomcat 8 上使用 Mybatis、c3p0 启动 webapp 时出错

java - Tomcat 7 : How do I specify Database resource when making connection to Microsoft Access

java - 如何从 GWT servlet 调用 HttpServlet 的 Post 方法?

java - 如何将按钮对齐到水平面板的中心?

java - 引导后如何注入(inject) session /用户对象?

javascript - CSRF/CSRF 安全 REST 调用的最佳实践?