本文介绍了无法在Google App Engine上部署Java项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Google App Engine上创建了一个项目,但无法使用项目ID部署该项目:我的项目ID
以下是发生问题:
您选择的应用程序ID我的项目ID不存在。访问查看现有应用ID或创建新应用Id。
无法更新应用:发布到网址时出错:我的项目ID& version = 1&
404找不到
这个应用程序不存在(project_id ='我的项目ID')。要在此项目中创建App Engine应用程序,请在您的控制台中运行gcloud beta app create。
有没有人遇到这个问题?
旧的项目工作正常,我可以部署这些项目。这个问题只适用于新创建的项目。 解决方案
您必须完全按照错误消息告诉您的那样执行, (beta不再需要)命令。
App Engine不再为新创建的项目自动初始化,因此您必须在新项目上运行此命令在第一次部署App Engine应用程序之前。
I've created one project on Google App Engine and I'm unable to deploy the project with project id: "my project id"
Here are details of problem occurred:
The App Id you selected, "my project id", does not exist. Go to http://cloud.google.com/console to view existing App Ids or create a new App Id.
Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id="my project id"&version=1&404 Not FoundThis application does not exist (project_id=u'my project id'). To create an App Engine application in this project, run "gcloud beta app create" in your console.
Is anyone facing this issue?
The old projects are working fine and I'm able to deploy those projects. The issue is only with newly created projects.
解决方案
You have to do exactly as the error message tells you, which is to run the gcloud app create
(beta no longer needed) command from a terminal.
App Engine is no longer automatically initialized for newly created projects, so you must run this command on a new project before deploying an App Engine app for the first time.
这篇关于无法在Google App Engine上部署Java项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!