商城项目:maven项目依赖was cached in the local repository错误
来源:互联网 发布:挂号网软件 编辑:程序博客网 时间:2024/06/06 18:12
问题描述
项目中有分页功能,从而添加了mybatis分页的jar包,看到maven依赖包中有标红的,项目环境搭建完之后想要启动一下项目,就报了如下错误:
Failure to find org.github.miemiedev:mybatis-paginator:jar:1.2.15 in nexus was cached in the local repository,
resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
问题分析
查看本地私服是否有这个jar包,发现不是完整的.很奇怪,分析上述错误提示,之前没有使用过这个jar包,所以开始本地仓库是没有这个jar包的,下一步maven会从私服上下载,如果私服上没有那就会从中央仓库下载,查看中央仓库,1.2.15这个版本还是很稳定的,公司网速用来下几个jar包还是可以的,就猜想是否是自己写错了,查看了一下中央仓库上的依赖写法,发现将groupId中com.错写成org.导致这个jar包下载不完整.
总结
出现这种问题的情况,一种是自己写错了,导致不能找到正确的jar包,一种是我们依赖的nexus没有下载完整的,这时候需要确认中央仓库是有这个jar包的,然后就需要去看私服中是否是完整的,重新拉去中央仓库中的jar包.
阅读全文
3 0
- 商城项目:maven项目依赖was cached in the local repository错误
- Maven依赖中类似was cached in the local repository样的错误
- maven项目pom.xml报错……was cached in the local repository的解决方法
- maven编译项目时提示:cached in the local repository
- 关于Maven本地仓库中存在依赖时,重新下载was cached in the local repository错误
- Maven错误:was cached in the local repository, resolution will not be reattempted until the update
- Maven 错误 Failure to transfer ...was cached in the local repository...
- Maven经典错误之三:was cached in the local repository, resolution will not be reattempted until the upda
- Maven was cached in the local repository, resolution will not be reattempted until the update interv
- was cached in the local repository, resolution will not be reattempted until(Maven常见问题)
- ubuntu jenkins 构建报“Failure to find xxx.jar apache.org/maven2 was cached in the local repository"错误
- Non-resolvable import POM: Failure to find Dalston.RC1 in was cached in the local repository
- was cached in the local repository, resolution will not be reattempted until the update interval of
- was cached in the local repository, resolution will not be reattempted until the update interval of
- was cached in the local repository, resolution will not be reattempted until the update interval of
- was cached in the local repository, resolution will not be reattempted until
- 解决maven执行命令时提示:cached in the local repository
- cached in the local repository, resolution will not be reattempted
- http://www.cnblogs.com/lambertwe/p/5372590.html
- vue.js 列表数据加载更多
- 刷题三
- 51Nod-1166-大数开平方
- vue入门
- 商城项目:maven项目依赖was cached in the local repository错误
- jQuery中this与$(this)的区别
- Android源码编译(四)系统源码目录
- 欢迎使用CSDN-markdown编辑器
- SpringMVC字段验证返回400错误码
- windows bat批处理基础命令学习教程
- 于频率域生成拉普拉斯滤波器
- 分布式作业框架elastic-job
- ArcEngine实现拓扑检查