执行命令 mvn install 时 :
ERROR: resolution will not be reattempted until the update interval of central has elapsed or updates are forced。
原因:settting里配置的远程仓库找不到该文件,或pom.xml中的配置与仓库不符(导致文件路径不一致)。
解决方法:
1、手动下载该jar包;
2、通过命令手动添加到本地仓库:
mvn install:install-file -Dfile=路径 -DgroupId=groupId -DartifactId=artifactId -Dversion= 版本 -Dpackaging=jar