gpt4 book ai didi

java - 如何启动 GWT Super Dev Mode

转载 作者:塔克拉玛干 更新时间:2023-11-03 03:12:00 24 4
gpt4 key购买 nike

<分区>

历尽千辛万苦,终于用我的Eclipse kepler安装了GWT 2.5

现在我可以使用 Dev 模式启动,即 Classic Dev Mode。

通过在 Eclipse 参数选项卡中的调试配置是。

-remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl index.html -logLevel INFO -codeServerPort 9997 -port 8888 -war E:\GWT2.5_Test\V4Workflow_V17\war com.suresh.V4Workflow

当我调试 Eclipse 时生成了 URL

http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997

很好。并且能够调试我的代码。

实际问题从这里开始:

我急切地等待用 Super Dev Mode 启动我的应用程序.

From Docs:

Super Dev Mode runs the GWT compiler in a web server, which is an ordinary Java application that developers can run from the command line. After the server starts up, it prints its URL:

The code server is ready. Next, visit: http://localhost:9876/

gwt.xml 文件中添加以下两行

<add-linker name="xsiframe"/>
<set-configuration-property name="devModeRedirectEnabled" value="true"/>

我编译了项目,然后使用 http://localhost:9876/ 启动,没有任何反应。

奇怪的是,文档中没有配置指南。

我在这里缺少什么?

感谢您提供任何线索。

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