Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/344.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 应用程序引擎灵活环境的部署失败_Java_Google App Engine_Deployment_Google Cloud Endpoints_App Engine Flexible - Fatal编程技术网

Java 应用程序引擎灵活环境的部署失败

Java 应用程序引擎灵活环境的部署失败,java,google-app-engine,deployment,google-cloud-endpoints,app-engine-flexible,Java,Google App Engine,Deployment,Google Cloud Endpoints,App Engine Flexible,使用示例: 运行: 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 [

使用示例:

运行:

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]

请参阅此GitHub pull请求,它将解决此问题: