简体   繁体   English

Google Web Toolkit启动器应用程序无法运行

[英]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. 我正在尝试在我的系统上设置Google Web Toolkit,以便修改创建Web应用程序。 I have been following the guide at http://code.google.com/webtoolkit/doc/latest/tutorial/create.html to get some experience with the system. 我一直关注http://code.google.com/webtoolkit/doc/latest/tutorial/create.html上的指南,以获得一些系统体验。 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. 当我在开发模式下运行程序时(在Chromium中),页面加载时间接近10秒,发送按钮不执行任何操作。

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. 我知道我可以在战争中添加一个文件“favicon.ico”来处理一个警告,但我没有和其他人一起运气。

I am using Eclipse 3.5 (Galileo) and I installed the GWT plugin and SDK's as per google's guide. 我正在使用Eclipse 3.5(Galileo),我根据谷歌指南安装了GWT插件和SDK。

Try to use another browser, I think you are using Chrome 10.0.612.1 dev. 尝试使用其他浏览器,我认为您使用的是Chrome 10.0.612.1 dev。 IMHO it could be caused by the WebKit update. 恕我直言,它可能是由WebKit更新引起的。

I have the same problem too, I just filled a bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=5778 我也有同样的问题,我刚刚填写了一个错误: http//code.google.com/p/google-web-toolkit/issues/detail? id = 5778

我只是猜测..您是否检查过安装到Eclipse上的GWT SDK与您在GWT项目类路径中使用的库之间的版本兼容性?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM