gpt4 book ai didi

java - 无法为跟踪文件 .lastUpdated 创建父目录

转载 作者:塔克拉玛干 更新时间:2023-11-01 23:01:21 24 4
gpt4 key购买 nike

我已经将 com.spotify:dockerfile-maven-plugin:1.4.3 添加到我的 POM 中,它由于以下原因,无法完成

[INFO] --- dockerfile-maven-plugin:1.4.3:build (default) @ server-api --- Downloading: https://repo.maven.apache.org/maven2/com/fasterxml/jackson/module/jackson-modules-base/2.9.4/jackson-modules-base-2.9.4.pom [WARNING] Failed to create parent directories for tracking file /home/alex/.m2/repository/com/fasterxml/jackson/module/jackson-modules-base/2.9.4/jackson-modules-base-2.9.4.pom.lastUpdated

这反过来会导致:

[ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.4.3:build (default) on project server-api: Execution default of goal com.spotify:dockerfile-maven-plugin:1.4.3:build failed: Plugin com.spotify:dockerfile-maven-plugin:1.4.3 or one of its dependencies could not be resolved: Failed to collect dependencies at com.spotify:dockerfile-maven-plugin:jar:1.4.3 -> com.spotify:docker-client:jar:shaded:8.11.4 -> com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.9.4 -> com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.9.4: Failed to read artifact descriptor for com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.9.4: Could not transfer artifact com.fasterxml.jackson.module:jackson-modules-base:pom:2.9.4 from/to central (https://repo.maven.apache.org/maven2): /home/alex/.m2/repository/com/fasterxml/jackson/module/jackson-modules-base/2.9.4/jackson-modules-base-2.9.4.pom.part.lock (No such file or directory) -> [Help 1]

最佳答案

它发生在我们身上是因为 /.m2/repository 的某些部分没有正确的权限。

关于java - 无法为跟踪文件 .lastUpdated 创建父目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50895647/

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