谷歌应用引擎服务不可用

2022-09-04 03:12:20

我正在按照 http://googcloudlabs.appspot.com/ 教程创建新的Google App Engine项目。当我尝试从本地主机运行时,它会给我一个错误,如下所示,但是当我部署它时工作正常。(http://mynewcloudcom.appspot.com/)。请帮忙。

HTTP ERROR: 503
Problem accessing /. Reason:
SERVICE_UNAVAILABLE
Powered by Jetty://

Eclipse Console

Mar 05, 2012 10:42:46 AM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
Mar 05, 2012 10:42:46 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed C:\Smartag_Eclipse_Project\DontEditProject\war\WEB-INF/appengine-web.xml
Mar 05, 2012 10:42:46 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:\Smartag_Eclipse_Project\DontEditProject\war\WEB-INF/web.xml
Mar 05, 2012 6:42:48 PM com.google.appengine.tools.development.DevAppServerImpl start
INFO: The server is running at http://localhost:8888/
Mar 05, 2012 6:42:48 PM com.google.appengine.tools.development.DevAppServerImpl start
INFO: The admin console is running at http://localhost:8888/_ah/admin

答案 1

找到了答案。我需要在 JDK1.6 中运行。一旦我更改了Java编译器(右键单击项目->属性->Java编译器->(检查)启用项目特定设置->更改编译器合规性级别),它现在工作正常。谢谢。


答案 2

我遇到了同样的问题。我刚刚在调试配置中将端口从8888更改为80,它对我有用。


推荐