【已解决】解决maven构建时报错:was cached in the local repository...
今天使用命令mvn compile编译maven项目时提示错误信息,错误信息如下:
今天使用命令mvn compile编译maven项目时提示错误信息,错误信息如下:

问题原因 :
Maven默认会使用本地缓存的库来编译工程,对于上次下载失败的库,maven会在~/.m2/repository/<group>/<artifact>/<version>/目录下创建xxx.lastUpdated文件,一旦这个文件存在,那么在直到下一次nexus更新之前都不会更新这个依赖库。
解决办法:
方法一:
删除v~/.m2/repository/<group>/<artifact>/<version>/目录下的*.lastUpdated文件,然后再次运行
原创不易,完成人机校验,阅读全文
相关推荐
工作小总结【已解决】Springboot 启动时报错:Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean工作小总结Maven项目报错:The type javax.validation.Payload cannot be resolved. It is indirectly referenced from req工作小总结mvn install 报错 Please refer to E:\maven\web_nanchang\target\surefire-reports for the indivi..CI/CDjenkins构建时错误:Job for jenkins.service failed becasused a timeout was exceededDOCKER【已解决】bind: An attempt was made to access a socket in a way forbidden by its access permissions.DUBBODubbo2.7.5连接zookeeper时报错: zookeeper not connected工作小总结&小工具类【已解决】maven项目导入idea后不是maven项目怎么解决 ?工作小总结【已解决】 nginx: [emerg] invalid number of arguments in “root“ directive in 问题