gpt4 book ai didi

gwt - IntelliJ : How do I debug a Maven-GWT project?

转载 作者:行者123 更新时间:2023-12-02 02:25:27 25 4
gpt4 key购买 nike

我在 Win XP 上使用 IntelliJ IDEA 8.1.2。我有一个 Maven 3.0.3 项目,使用 GWT 2.4 插件。配置如下...

        <!-- GWT Maven Plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwtVersion}</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test</goal>
<!-- <goal>i18n</goal> <goal>generateAsync</goal> -->
</goals>
</execution>
</executions>
<!-- Plugin configuration. There are many available options, see gwt-maven-plugin
documentation at codehaus.org -->
<configuration>
<runTarget>index.html</runTarget>
<hostedWebapp>${webappDirectory}</hostedWebapp>
<i18nMessagesBundle>com.cme.clearing.product.client.Messages</i18nMessagesBundle>
</configuration>
</plugin>

在 IntelliJ 中,如何运行和调试该项目? Google 推荐的唯一相关链接 -- http://antonkirillov.wordpress.com/2011/03/22/creating-and-running-gwt-project-using-maven-and-intellij-idea-10/ ,被我们公司防火墙屏蔽了。

如果有什么用,我本地也安装了 Tomcat 6.0.33。

谢谢,-戴夫

最佳答案

@Vijay Krishna 这对我不起作用,我的解决方案是。

  1. 首先,创建一个 mvn gwt:debug。当您运行 Maven 时,将启动您的应用程序,并监听端口 8000(单击调试图标)。
  2. 其次,创建远程配置以连接端口 8000。

enter image description here

关于gwt - IntelliJ : How do I debug a Maven-GWT project?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8140685/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com