网站推广的作用,建门户网站需要多少钱,高端做网站公司,做网站和软件有区别吗文章目录 业务场景错误提示分析过程解决办法 业务场景
settings.xml种配置了私服#xff0c;但是有些依赖私服上没有#xff0c;通过同事拷贝过来的。但是用maven打包时报红了。
错误提示
Idea Maven错误#xff1a;was cached in the local repository, resolution will… 文章目录 业务场景错误提示分析过程解决办法 业务场景
settings.xml种配置了私服但是有些依赖私服上没有通过同事拷贝过来的。但是用maven打包时报红了。
错误提示
Idea Maven错误was cached in the local repository, resolution will not be reattempted until the update was cached in the local repository, resolution will not be reattempted until the update interval of io.spring.repo.maven.release has elapsed or updates are forced This failure was cached in the local repository and resolution is not reattempted until the update interval of repo183 has elapsed or updates are forced [ERROR] Failed to execute goal on project XXX: Could not resolve dependencies for project com.vixtel.project:boce-subscriber:jar:2.1.0-20230908: com.vixtel.vaf:vaf-nacos-config-precheck:jar:2.4.0-20230801 was not found in http://36.134.39.183:4000/repository/maven-public/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of repo183 has elapsed or updates are forced 分析过程
按照提示查找本地repository中是否有缺失的jar但jar都是有的同事拷贝的都有jar文件参考几篇文章maven依赖报红。解决本地有jar包idea无法加载 _remote.repositories文件的作用 使用Maven管理项目时明明本地仓库有对应的jar包但还是报找不到 快速清理本地仓库的文件
解释maven3.x版本从远程库下载依赖后会生成对应的_remote.repositories文件标示该资源的来源。如果你有这个文件_remote.repositories那就不会访问本地了会去远程上找。必须远程上有才行否则就会报错。
而我们的私服是没有依赖的直接拷贝到的本地。
解决办法
删除对应仓库中的_remote.repositories文件
如果多可以使用快速清理本地仓库的文件