Google Cloud Platform Java - Maven Deploy针对错误的项目

时间:2017-04-24 03:10:53

标签: java maven gcloud platform

我正在尝试部署一个示例项目来测试google cloud的java环境。出于某种原因,我的gcloud项目的错误版本正在尝试中。

命令:      mvn appengine:deploy -DprojectID = test-projectId123

[INFO] <<< appengine-maven-plugin:1.0.0:deploy (default-cli) < package @ bookshelf-2 <<<
[INFO] 
[INFO] --- appengine-maven-plugin:1.0.0:deploy (default-cli) @ bookshelf-2 ---
[INFO] Deleting the staging directory: /Users/jeffgriffith/Projects/getting-started-java/bookshelf/2-structured-data/target/appengine-staging
[INFO] Staging the application to: /Users/jeffgriffith/Projects/getting-started-java/bookshelf/2-structured-data/target/appengine-staging
[INFO] Detected App Engine flexible environment application.
Apr 23, 2017 11:02:21 PM com.google.cloud.tools.appengine.cloudsdk.CloudSdk logCommand
INFO: submitting command: /Users/jeffgriffith/google-cloud-sdk/bin/gcloud app deploy /Users/jeffgriffith/Projects/getting-started-java/bookshelf/2-structured-data/target/appengine-staging/app.yaml --quiet
[INFO] GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [403] The client project has been deleted.
[INFO] GCLOUD: 
[INFO] GCLOUD: Details: [
[INFO] GCLOUD:   [
[INFO] GCLOUD:     {
[INFO] GCLOUD:       "@type":         
                          "type.googleapis.com/google.rpc.QuotaFailure",
[INFO] GCLOUD:       "violations": [
[INFO] GCLOUD:         {
[INFO] GCLOUD:           "description": "The client project has been deleted.",
[INFO] GCLOUD:           "subject": "project:289370843929"
[INFO] GCLOUD:         }
[INFO] GCLOUD:       ]
[INFO] GCLOUD:     }
[INFO] GCLOUD:   ]
[INFO] GCLOUD: ]
[INFO] GCLOUD: 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

项目确实存在

1 个答案:

答案 0 :(得分:1)

使用更新设置的gcloud init解决了问题