Chris Dibble
Chris Dibble

Reputation: 398

Google Web Toolkit starter application not working

I am trying to set Google Web Toolkit up on my system in order to tinker with creating web applications. I have been following the guide at http://code.google.com/webtoolkit/doc/latest/tutorial/create.html to get some experience with the system. I have had some problems though. When I run the program in development mode (in Chromium) the page takes close to 10 seconds to load, and the send button does not do anything.

The output of the console is

Initializing AppEngine server
Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
Successfully processed D:\Chris\Documents\My Dropbox\workspace\StockWatcher\war\WEB-INF/appengine-web.xml
Successfully processed D:\Chris\Documents\My Dropbox\workspace\StockWatcher\war\WEB-INF/web.xml
The server is running at http://localhost:8888/
[WARN] No file found for: /favicon.ico

And the output of the "Development Mode" is

[WARN] [stockwatcher] JSNI method '@com.google.gwt.user.client.impl.WindowImpl::initWindowCloseHandler()' returned a value of type JavaScript object(9) but was declared void; it should not have returned a value at all

[WARN] [stockwatcher] JSNI method '@com.google.gwt.user.client.impl.DOMImplStandard::initEventSystem()' returned a value of type JavaScript object(193) but was declared void; it should not have returned a value at all

Any ideas about what is causing these problems and how to fix them? I know that I can add a file "favicon.ico" to war to take care of the one warning, but I havn't had any luck with the others.

I am using Eclipse 3.5 (Galileo) and I installed the GWT plugin and SDK's as per google's guide.

Upvotes: 3

Views: 2552

Answers (2)

Francesco Rapanà
Francesco Rapanà

Reputation: 126

Try to use another browser, I think you are using Chrome 10.0.612.1 dev. IMHO it could be caused by the WebKit update.

I have the same problem too, I just filled a bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=5778

Upvotes: 3

Art Licis
Art Licis

Reputation: 3679

I'm just guessing.. Have you checked the version compliance between GWT SDK installed onto Eclipse, and the libraries you are using in your GWT project classpath?

Upvotes: 0

Related Questions