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包引用异常。
若本地仓库中存在对应jar包,但仍然从网络中进行拉取,可以查看本地仓库的对应目录中是否包含 _remote.repositories文件,可以移除该文件后刷新Maven依赖进行尝试解决。
_remote.repositories文件存储的是每次从私服或者中央仓库下载的jar包的信息。