Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (build-image) on project training

Posted 我叫白小飞

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (build-image) on project training相关的知识,希望对你有一定的参考价值。

springboot 集成docker,一键打包发布的功能后,使用maven的package打包时出现如下错误:

Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (build-image) on project trainingmanagement: Exception caught

解决方案为:
win:在C盘的用户目录下,找到**.docker**文件夹,然后用文档编辑器打开config.json,然后将"credsStore":"desktop","stackOrchestrator":"swarm",改为:,保存并退出,然后重新打包即可。

这种解决方案只是其中一种,如有别的方案,也请分享一下!!

以上是关于Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (build-image) on project training的主要内容,如果未能解决你的问题,请参考以下文章

Spring boot打包报错:Failed to execute goal org.apache.

运行maven项目时出现一下问题:“ Failed to execute goal org.apache.maven.plugins“

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile

maven报错---Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-c

Maven多模块项目单独编译子模块项目时报错:Failed to execute goal on project