简体   繁体   English

无法在Eclipse中启动GAE项目

[英]Can't start GAE project in Eclipse

I install the Google Plugin, the GAE SDK, and the GWT SDK per instructions. 我会按照说明安装Google插件,GAE SDK和GWT SDK。

I created a simple project, during which I found I had to manually point the Google Plugin to the GAE and GWT SDK directories (there were some previous directories, perhaps from a past installation, that no-longer existed). 我创建了一个简单的项目,在此过程中,我发现必须手动将Google插件指向GAE和GWT SDK目录(以前存在一些目录,可能是从以前的安装中删除的)。 I told it to generate the example code (the default functionality). 我告诉它生成示例代码(默认功能)。

So then to test the example code I right click on the project, and go to Run As -> Web Application. 因此,为了测试示例代码,我右键单击该项目,然后转到Run As-> Web Application。

In the Console I see this: 在控制台中,我看到以下内容:

2011-03-17 22:31:20.809 java[86443:a07] [Java CocoaComponent compatibility mode]: Enabled
2011-03-17 22:31:20.813 java[86443:a07] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
Initializing AppEngine server
Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
Successfully processed /Users/ian/workspace/CustLTV/war/WEB-INF/appengine-web.xml
Successfully processed /Users/ian/workspace/CustLTV/war/WEB-INF/web.xml
jetty-6.1.x
Started SelectChannelConnector@0.0.0.0:8888
The server is running at http://localhost:8888/

It then seems to quit immediately (the red box that indicates it is running goes grey). 然后,它似乎立即退出(指示它正在运行的红色框变成灰色)。

There is also a "Development Mode" tab which lists the following URL: 还有一个“开发模式”选项卡,其中列出了以下URL:

http://127.0.0.1:8888/CustLTV.html?gwt.codesvr=127.0.0.1:9997 http://127.0.0.1:8888/CustLTV.html?gwt.codesvr=127.0.0.1:9997

When I click on that I'm taken to that URL, but I get "Connection refused", nothing is listening on that port. 当我单击该链接时,将转到该URL,但收到“拒绝连接”的提示,则该端口上没有监听。

What am I doing wrong? 我究竟做错了什么?

在此处查看圣塔的回复http://code.google.com/p/googleappengine/issues/detail?id=4712为我工作

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

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