GWT SuperDev - Can't find GWT Modules

2019-06-20 07:36发布

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 -enter image description here

  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? enter image description here

enter image description here

enter image description here

2条回答
别忘想泡老子
2楼-- · 2019-06-20 08:01

I tried to do it with Eclipse Oxygen, Java7 (for run application, for oxygen you have to have java 8), and GWT Eclipse Plugin 3.0.0.

In such an environment all you need to do is:

On project right click > Debug As > GWT Legacy Development Mode with Jetty.

PS:

  1. you have to have address like this http://127.0.0.1:8888/StockWatcher.html?gwt.codesvr=127.0.0.1:9997
    NOT like :http://127.0.0.1:8888/StockWatcher.html
  2. After openning addres you must additionally install the plugin in the browser - you will be asked for it
  3. It work on IE11
查看更多
相关推荐>>
3楼-- · 2019-06-20 08:13

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).

查看更多
登录 后发表回答