开发者社区 问答 正文

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:jar:1.1.0.0, com.dhcc.framework:dhcc-core:jar:2.0.2.6, com.oracle:ojdbc14:jar:10.2.0.4.0, com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.2.3.cp1, com.fasterxml.jackson.jaxrs:jackson-jaxrs-xml-provider:jar:2.2.3.cp1: 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] 

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

展开
收起
爵霸 2016-06-02 10:46:37 4563 分享 版权
1 条回答
写回答
取消 提交回答
  • 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)

    2019-07-17 19:24:15
    赞同 展开评论