GWT SuperDev - 找不到GWT模块 [英] GWT SuperDev - Can't find GWT Modules

查看:333
本文介绍了GWT SuperDev - 找不到GWT模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循了此页上给出的步骤 - 随着superdevmode开始



但我仍然收到消息 - 在此页面上找不到任何GWT模块。我做了更多的Google搜索,但直到现在还找不到任何解决方案。



我在ubuntu上使用GWT 2.6.1和eclipse kepler 64位。
$ b

以下是我所做的步骤。


  1. 使用GWT 2.6创建了一个新的GAE Web应用程序项目.1和GAE sdk 1.9.6。

  2. 转到运行配置。为Java应用程序创建新配置。更改主类,参数并添加jar文件,如截图所示。
  3. 检查apps .gwt.xml文件。它已经有< add-linker name =xsiframe/> 。我曾尝试添加 devModeRedirectEnabled 属性。它没有帮助。

  4. GWT编译项目。
  5. 以Web应用程序的形式运行应用程序。默认的jetty config为
    http:// localhost:8888 / SuperDev.html 应用程序提供服务。
    我在Firefox中打开了这个页面。我可以看到页面内容。

  6. 启动Java应用程序配置。它会重新编译并给出成功消息,并告诉我启动
    http:// localhost:9876 /


  7. 我在firefox中打开它并显示 -


  8. 将开发模式拖到Firefox的书签上。

  9. 我收到消息 - 在此页面上找不到任何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.

  1. Created a new Web app project for GAE, using GWT 2.6.1 and GAE sdk 1.9.6.
  2. 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.
  3. Check the apps .gwt.xml file. It already has <add-linker name="xsiframe"/>. I have tried adding devModeRedirectEnabled property also. It did not help.
  4. GWT compile the project.
  5. 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.

  6. Launch the Java application configuration. It does compile again and gives a success message and tells me to launch http://localhost:9876/

  7. I opened it in firefox and it shows -

  8. Dragged Dev Mode On to firefox's bookmark. And clicked.

  9. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆