resolution will not be reattempted until the update interval of XX has elapsed or updates are……

mvn clean install 打包aliyun-java-sdk-dybaseapi:jar是出现下面的异常:

问题是本地仓库有该jar包,但是中央仓库没有该包,mvn编译时一直出现问题。

解决方法

找到你的这个包的位置,一般是:C:\Users\……\.m2\repository\……

然后编辑_remote.repositories文件:

改为:

#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Mon Jul 01 15:11:51 CST 2019
aliyun-java-sdk-dybaseapi-1.0.0.pom>central=
aliyun-java-sdk-dybaseapi-1.0.0.jar>central=

mvn clean install后:

问题解决!!!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章