开发者社区> 问答> 正文

maven项目下maven install报错?报错


操作步骤:

在项目下的pom.xml 右键选择 maven install 报的错

报错信息 

Failed to execute goal on project nrhcm: Could not resolve dependencies for project com.dhcc.nrhcm:nrhcm:war:1.6.0.5: The following artifacts could not be resolved: com.dhcc.client:dhcc-dic-client🏺1.1.0.0, com.dhcc.framework:dhcc-core🏺2.0.2.6, com.oracle:ojdbc14🏺10.2.0.4.0, com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider🏺2.2.3.cp1, com.fasterxml.jackson.jaxrs:jackson-jaxrs-xml-provider🏺2.2.3.cp1: Failure to find com.dhcc.client:dhcc-dic-client🏺1.1.0.0 in http://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 -> [Help 1]


网上查了谷歌,各种资料,没能找到解决方案。如何解决?

展开
收起
爱吃鱼的程序员 2020-06-14 16:31:40 623 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    Failure to find com.dhcc.client:dhcc-dic-client:jar:1.1.0.0 in http://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 -> [Help 1]

    构建失败原因:中央库缺少jar包( dhcc-dic-client)

    回复 @会单板的it男:我说的是两种方法,并不是二个步骤。回复 @y60024651:第一步完成。第二步,还是不太懂回复 @会单板的it男:1.将jar直接安装到本地库。2.配置私服,从网上下载jar后上传到私服。比如:开源中国的私服。原因明白了。请问怎么补呢?看了保存日志,你的远程仓库,找不到对应的jar包,先编译吧,看看哪里报错不通过,目测是jar问题如何进行编译,我第一次用maven。求指点,谢谢 下载Jar包,安装到本地仓库中
    2020-06-15 11:05:55
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载