2017-04-24 111 views
0

我想部署一個示例項目來測試谷歌雲的Java環境。出於某種原因,我的gcloud項目的錯誤版本正在嘗試中。Google雲平臺Java - Maven部署目標錯誤項目

命令: MVN AppEngine上:部署-DprojectID =測試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

gcloud初始化與更新的設置解決了這個問題