Failure to find ... was cached in the local repository, resolution will not be reattempted until the update interval of public has elapsed or updates are forced
Failure to find ... was cached in the local repository, resolution will not be reattempted until the update interval of public has elapsed or updates are forced
当我对项目进行打包时,报了以下错误:
Failure to find com.XXXX:pom:1.0.0 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 public has elapsed or updates are forced
简单直译:无法在http://maven.aliyun.com/nexus/content/groups/public/中找到XXXX被缓存在本地存储库中,在public的更新间隔过去或强制更新之前,不会重新尝试解析
为解决这个问题,查阅了比较多的信息如下:
去自己的本地仓库文件夹下把 xxx.lastUpdated文件全部删掉,重新运行maven,ok!