记录:EasyCaptcha in https://repo.maven.apache.org/maven2 was cached in the local repository

 

maven 使用中报错:

mvn verify -X

 Could not resolve dependencies for project com.common:jar:2.6.5-SNAPSHOT: Failure to find com.github.whvcse:EasyCaptcha:jar:1.5.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

不能为common项目处理依赖:“在远程仓库不能找到架包”已被缓存本地仓库,中央仓库的更新间隔期到或强制更新时重新尝试解决

记录:EasyCaptcha in https://repo.maven.apache.org/maven2 was cached in the local repository

 

 

 

检查文件夹中文件:

记录:EasyCaptcha in https://repo.maven.apache.org/maven2 was cached in the local repository

重新向本地添加

mvn install:install-file -DgroupId=com.github.whvcse -DartifactId=EasyCaptcha -Dversion=1.5.0 -Dpackaging=jar -Dfile=D:/EasyCaptcha-1.5.0.jar

再次执行mvn命令成功 BUILD SUCCESS