【问题标题】:Deployment fails for app engine flexible enviornment应用引擎柔性环境部署失败
【发布时间】:2017-03-27 19:57:15
【问题描述】:

使用示例:https://cloud.google.com/endpoints/docs/quickstart-app-engine

运行:

VSKUMAR-mac:getting-started vskumar$ mvn appengine:deploy
gives:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.246 s
[INFO] Finished at: 2017-03-27T00:19:55-07:00
[INFO] Final Memory: 21M/313M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:appengine-maven-plugin:1.0.0:deploy (default-cli) on project endpoints: Execution default-cli of goal com.google.cloud.tools:appengine-maven-plugin:1.0.0:deploy failed: Found 'Dockerfile' in the App Engine directory. Please move it to the Docker directory. -> [Help 1]
[ERROR] 

我试过了,但后来错误变成了:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.395 s
[INFO] Finished at: 2017-03-27T00:22:19-07:00
[INFO] Final Memory: 21M/313M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:appengine-maven-plugin:1.0.0:deploy (default-cli) on project endpoints: Execution default-cli of goal com.google.cloud.tools:appengine-maven-plugin:1.0.0:deploy failed: Found an unexpected 'Docker' file in the App Engine directory. -> [Help 1]

【问题讨论】:

    标签: java google-app-engine deployment google-cloud-endpoints app-engine-flexible


    【解决方案1】:

    请参考这个 GitHub 拉取请求,它应该可以解决这个问题: https://github.com/GoogleCloudPlatform/java-docs-samples/pull/585

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-04-12
      • 1970-01-01
      • 1970-01-01
      • 2018-10-28
      • 2019-03-12
      • 1970-01-01
      • 1970-01-01
      • 2021-03-23
      相关资源
      最近更新 更多