返回

提问 添加收藏

clean package docker:build出现错误

本页包含1张图片,默认未加载,显示所有图片

lghwuwangchuxin 发布于 2019年04月25日 (共有1个回帖)

点击加载图片

出现错误

"C:\Program Files\Java\jdk1.8.0_131\bin\java.exe" -Dmaven.multiModuleProjectDirectory=E:\Mywork\cloud-service\config-center -Dmaven.home=E:\maven\apache-maven-3.3.9 -Dclassworlds.conf=E:\maven\apache-maven-3.3.9\bin\m2.conf -javaagent:D:\SoftwareInstall\ideaIU-2018.3.3.win\lib\idea_rt.jar=49622:D:\SoftwareInstall\ideaIU-2018.3.3.win\bin -Dfile.encoding=UTF-8 -classpath E:\maven\apache-maven-3.3.9\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2018.3.3 clean package docker:build
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building config-center 2.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ config-center ---
[INFO] Deleting E:\Mywork\cloud-service\config-center\target
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ config-center ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 10 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ config-center ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to E:\Mywork\cloud-service\config-center\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ config-center ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\Mywork\cloud-service\config-center\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ config-center ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ config-center ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ config-center ---
[INFO] Building jar: E:\Mywork\cloud-service\config-center\target\config-center.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:2.0.4.RELEASE:repackage (default) @ config-center ---
[INFO]
[INFO] --- docker-maven-plugin:1.0.0:build (default-cli) @ config-center ---
[WARNING] No entry found in settings.xml for serverId=docker-repostory, cannot configure authentication for that registry
[INFO] Using authentication suppliers: [ConfigFileRegistryAuthSupplier]
[INFO] Copying E:\Mywork\cloud-service\config-center\target\config-center.jar -> E:\Mywork\cloud-service\config-center\target\docker\config-center.jar
[INFO] Copying E:\Mywork\cloud-service\config-center\target\classes\bootstrap.yml -> E:\Mywork\cloud-service\config-center\target\docker\bootstrap.yml
[INFO] Copying E:\Mywork\cloud-service\config-center\target\classes\com\cloud\config\ConfigCenterApplication.class -> E:\Mywork\cloud-service\config-center\target\docker\com\cloud\config\ConfigCenterApplication.class
[INFO] Copying E:\Mywork\cloud-service\config-center\target\classes\configs\dev\file-center.yml -> E:\Mywork\cloud-service\config-center\target\docker\configs\dev\file-center.yml
[INFO] Copying E:\Mywork\cloud-service\config-center\target\classes\configs\dev\gateway-zuul.yml -> E:\Mywork\cloud-service\config-center\target\docker\configs\dev\gateway-zuul.yml
[INFO] Copying E:\Mywork\cloud-service\config-center\target\classes\configs\dev\log-center.yml -> E:\Mywork\cloud-service\config-center\target\docker\configs\dev\log-center.yml
[INFO] Copying E:\Mywork\cloud-service\config-center\target\classes\configs\dev\manage-backend.yml -> E:\Mywork\cloud-service\config-center\target\docker\configs\dev\manage-backend.yml
[INFO] Copying E:\Mywork\cloud-service\config-center\target\classes\configs\dev\notification-center.yml -> E:\Mywork\cloud-service\config-center\target\docker\configs\dev\notification-center.yml
[INFO] Copying E:\Mywork\cloud-service\config-center\target\classes\configs\dev\oauth-center.yml -> E:\Mywork\cloud-service\config-center\target\docker\configs\dev\oauth-center.yml
[INFO] Copying E:\Mywork\cloud-service\config-center\target\classes\configs\dev\organization-center.yml -> E:\Mywork\cloud-service\config-center\target\docker\configs\dev\organization-center.yml
[INFO] Copying E:\Mywork\cloud-service\config-center\target\classes\configs\dev\user-center.yml -> E:\Mywork\cloud-service\config-center\target\docker\configs\dev\user-center.yml
[INFO] Copying E:\Mywork\cloud-service\config-center\target\classes\Dockerfile -> E:\Mywork\cloud-service\config-center\target\docker\Dockerfile
[INFO] Building image https://cloud.docker.com/repository/docker/dockerlgh/springcloud/com.cloud/config-center:2.0
四月 25, 2019 3:12:30 下午 org.apache.http.impl.execchain.RetryExec execute
信息: I/O exception (java.net.SocketException) caught when processing request to {}->http://192.168.52.206:2375: Connection reset by peer: socket write error
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.138 s
[INFO] Finished at: 2019-04-25T15:12:30+08:00
[INFO] Final Memory: 58M/402M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (default-cli) on project config-center: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: org.apache.http.client.ClientProtocolException: Cannot retry request with a non-repeatable request entity: Connection reset by peer: socket write error -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Process finished with exit code 1

 

Docker
文明上网,理性发言
客户端 Android iPhone WP7