GWT SuperDev - 找不到GWT模块 [英] GWT SuperDev - Can't find GWT Modules
问题描述
我遵循了此页上给出的步骤 - 随着superdevmode开始
但我仍然收到消息 - 在此页面上找不到任何GWT模块。我做了更多的Google搜索,但直到现在还找不到任何解决方案。
我在ubuntu上使用GWT 2.6.1和eclipse kepler 64位。
$ b
以下是我所做的步骤。
- 使用GWT 2.6创建了一个新的GAE Web应用程序项目.1和GAE sdk 1.9.6。
- 转到运行配置。为Java应用程序创建新配置。更改主类,参数并添加jar文件,如截图所示。
- 检查apps .gwt.xml文件。它已经有
< add-linker name =xsiframe/>
。我曾尝试添加devModeRedirectEnabled
属性。它没有帮助。
- GWT编译项目。
以Web应用程序的形式运行应用程序。默认的jetty config为
http:// localhost:8888 / SuperDev.html
应用程序提供服务。
我在Firefox中打开了这个页面。我可以看到页面内容。
http:// localhost:9876 /
- 检查apps .gwt.xml文件。它已经有
-
我在firefox中打开它并显示 -
-
将开发模式拖到Firefox的书签上。
- 我收到消息 - 在此页面上找不到任何GWT模块。
以下是我的superdev模式java应用程序的配置。我错过了什么吗?
< img src =https://i.stack.imgur.com/vgtBl.pngalt =在这里输入图片描述>
您需要在查看已编译的Web应用程序时点击 。
因此,最后一步应该是:
- 将开发模式拖到Firefox的书签上。
- 切换回我的应用程序
http:// localhost: 8888 / SuperDev.html
并点击书签
一旦您拥有书签,您实际上不会真的需要打开 http:// localhost:9876
(你会在那里找到编译日志,并且可以浏览你的代码,包括由GWT生成器生成的代码;所以它仍然有用)。
I have followed the steps given on this page - getting-started-with-the-superdevmode
but I am still getting message - Can't find any GWT Modules on this page. I did some more googling but could not find any solution until now.
I am using GWT 2.6.1 and eclipse kepler 64 bit on ubuntu.
Here are the steps I did.
- Created a new Web app project for GAE, using GWT 2.6.1 and GAE sdk 1.9.6.
- Go to Run configurations. Create a new configuration for a "Java Application". Change the main class, Argument and add jar file as shown in the screenshot.
- Check the apps .gwt.xml file. It already has
<add-linker name="xsiframe"/>
. I have tried addingdevModeRedirectEnabled
property also. It did not help. - GWT compile the project.
Run the application as Web application. Default jetty config serves the application at
http://localhost:8888/SuperDev.html
. I opened up this page in firefox. I can see the page content.Launch the Java application configuration. It does compile again and gives a success message and tells me to launch
http://localhost:9876/
I opened it in firefox and it shows -
Dragged Dev Mode On to firefox's bookmark. And clicked.
- I get the message - Can't find any GWT Modules on this page.
Following are the configurations for my superdev mode java app. Did I miss anything?
You need to click the bookmarklet when viewing your compiled web app.
The last steps should therefore be:
- Dragged Dev Mode On to firefox's bookmark.
- Switched back to my application at
http://localhost:8888/SuperDev.html
and clicked the bookmark
Once you have the bookmarklets, you actually don't really need to open http://localhost:9876
anymore (you'll find compile logs there, and can browser your code, including the code generated by GWT generators; so it can still be useful).
这篇关于GWT SuperDev - 找不到GWT模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!