【问题标题】:GWT module may need to be (re)compiled REMOTE debuggingGWT 模块可能需要(重新)编译远程调试
【发布时间】:2014-05-28 13:35:26
【问题描述】:

您好,我在运行 GWT 开发模式后从远程计算机调试 GWT 应用程序时遇到问题。当我去时一切正常

127.0.0.1:8888/TestApp.html?gwt.codesrv=127.0.0.1:9997

但是当我去

192.168.1.142:8888/TestApp.html?gwt.codesrv=192.168.1.142:9997

在网络中的另一台计算机上,我收到一个弹出窗口,提示“GWT 模块 'TestApp' 可能需要(重新)编译。

我在这个项目中使用 GWT/Maven/Glassfish EJB,我似乎无法理解为什么它在本地而不是远程工作。

这是我的 Eclipse 的 GWT 运行配置:

-port 8888 -war /Users/abc123/Documents/workspace/path/to/snapshotfolder -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl TestApp.html -logLevel INFO -bindAddress 0.0.0.0 -codeServerPort 9997 com.abc.def.gwt.TestApp

非常感谢任何帮助。

【问题讨论】:

    标签: java maven gwt glassfish


    【解决方案1】:

    您是否尝试过像这样运行您的应用程序: 192.168.1.142:8888/TestApp.html

    不要使用 8888 端口使用您的 tomcat 端口或您使用的其他服务器意味着使用该服务器的端口。

    【讨论】:

    • 您好,感谢您的回答!我尝试在没有 gwt.codesrv 参数的情况下运行 url,但仍然得到相同的结果。我不确定我明白你的意思吗?
    猜你喜欢
    • 1970-01-01
    • 2013-07-04
    • 2013-08-01
    • 2015-06-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多