700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > Failure to find xxx:jar:0.0.1 in https://repo.maven.apache.org/maven2 was cached in the local re

Failure to find xxx:jar:0.0.1 in https://repo.maven.apache.org/maven2 was cached in the local re

时间:2021-04-04 01:45:37

相关推荐

Failure to find xxx:jar:0.0.1 in https://repo.maven.apache.org/maven2 was cached in the local re

出现以下错误:

[ERROR] Failed to execute goal on project micro-feign-server: Could not resolve dependencies for project com.jimi:micro-feign-server:jar:0.0.1-SNAPSHOT: Failure to find com.jimi:micro-service-common:jar:0.0.1 in https://repo./maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

解决方法:

mvn install:install-file -DgroupId=com.jimi -DartifactId=micro-service-common -Dversion=0.0.1 -Dpackaging=jar -Dfile=C:\Users\10170\IdeaProjects\jimi-microservice\micro-service-common\target\micro-service-common-0.0.1.jar

之后再重新编译:

mvn package -Dmaven.test.skip=true

最后问题解决。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。