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後:

問題解決!!!

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