我使用 Eclipse 将我的 java 代码部署到 Google App Engine。但是在过去的两周里,我发现它经常挂在前端的“验证可用性”上。用一堆“60秒后再次检查”等了很久,部署失败。通过反复试验,我也发现如果我删除后端或者有时完全删除版本并重新部署,它更有可能成功。以下是错误消息:
Unable to update:
java.lang.RuntimeException: Version not ready.
at com.google.appengine.tools.admin.AppVersionUpload.commit(AppVersionUpload.java:572)
at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:143)
at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:328)
at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:52)
at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:433)
at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:148)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
提前致谢。