Failure to transfer org.apache.maven:maven-artifact-manager:pom:2.0.6 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central
has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven:maven-artifact-manager:pom:2.0.6 from/to central (http://repo1.maven.org/maven2): The operation was cancelled.
如果包类似的错误就到本地maven仓库找到org.apache.maven:maven-artifact-manager:pom:2.0.6根据版本找到对应目录看里面的目录是否包含m2e-lastUpdated.properties类似最后更新的文件,或者删除此目录下的所有文件,原因是文件下载不完整需要重新下载,删除掉后回到工程重新更新依赖(update dependencies)
mave报错Failure to transfer org.apache.maven:maven-artifact-manager
最新推荐文章于 2024-02-02 17:25:47 发布