无法在 Google App Engine 上部署 Java 项目 [英] Unable to deploy java project on Google App Engine

查看:36
本文介绍了无法在 Google App Engine 上部署 Java 项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Google App Engine 上创建了一个项目,但无法使用项目 ID:我的项目 ID"部署该项目

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:

您选择的应用 ID我的项目 ID"不存在.转到 http://cloud.google.com/console 以查看现有应用 ID 或创建新应用身份证.

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.

无法更新应用:发布到 URL 时出错:https://appengine.google.com/api/appversion/create?app_id=我的项目ID"&version=1&404 未找到此应用程序不存在(project_id=u'my project id').要在此项目中创建 App Engine 应用,请在您的控制台中运行gcloud beta app create".

Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id="my project id"&version=1& 404 Not Found This 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.

推荐答案

你必须完全按照错误信息告诉你的,那就是运行 gcloud app create(不再需要测试版)来自终端的命令.

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 不再为新创建的项目自动初始化,因此您必须在首次部署 App Engine 应用之前对新项目运行此命令.

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 项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆