gpt4 book ai didi

java - 错误 :Failed to execute goal com. google.cloud.tools :jib-maven-plugin:0. 9.11:dockerBuild dockerizing JHipster-Registry

转载 作者:行者123 更新时间:2023-12-05 03:01:04 24 4
gpt4 key购买 nike

当我运行这个命令时:

mvn -e package -Pprod verify jib:dockerBuild

jhipster-registry 标准项目中,为了对这个应用程序进行 docker 化,我得到了这个错误:

[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.11:dockerBuild (default-cli) on project jhipster-registry: Invalid image reference: JHipster Registry:5.0.0 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.11:dockerBuild (default-cli) on project jhipster-registry: Invalid image reference: JHipster Registry:5.0.0

Help1 中建议的链接是:

https://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

最佳答案

这是一条“一般错误信息”。我的解决方案是:

docker system prune

这清理了 docker images/container 和 registry 的 build docker images 就可以了。

关于java - 错误 :Failed to execute goal com. google.cloud.tools :jib-maven-plugin:0. 9.11:dockerBuild dockerizing JHipster-Registry,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56163142/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com