Failed to execute goal on project travel_spark:
Could not resolve dependencies for project com.kkb.travel:travel_spark:jar:1.0-SNAPSHOT:
Failed to collect dependencies at org.geotools:gt-main:jar:20.1:
Failed to read artifact descriptor for org.geotools:gt-main:jar:20.1:
Failure to find org.geotools:library:pom:20.1 in http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced -> [Help 1]
本地倉庫遷移后,jar包引用異常。
???? ?? 若本地倉庫中存在對應(yīng)jar包,但仍然從網(wǎng)絡(luò)中進(jìn)行拉取,可以查看本地倉庫的對應(yīng)目錄中是否包含 _remote.repositories文件,可以移除該文件后刷新Maven依賴進(jìn)行嘗試解決。
_remote.repositories文件存儲的是每次從私服或者中央倉庫下載的jar包的信息。