操作步骤:
在项目下的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]
网上查了谷歌,各种资料,没能找到解决方案。如何解决?
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)
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。