Eclipse 安装EGit失败

3 篇文章 0 订阅
2 篇文章 0 订阅

今天用Eclipse安装EGit失败:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Java implementation of Git - optional Http support using Apache httpclient 4.3.1.201605051710-r (org.eclipse.jgit.http.apache.feature.group 4.3.1.201605051710-r)
  Missing requirement: Apache HttpComponents HttpClient 4.3.6.v201411290715B (org.apache.httpcomponents.httpclient 4.3.6.v201411290715B) requires 'package org.apache.commons.codec.binary 1.6.0' but it could not be found
  Cannot satisfy dependency:
    From: Java implementation of Git - optional Http support using Apache httpclient 4.3.1.201605051710-r (org.eclipse.jgit.http.apache.feature.group 4.3.1.201605051710-r)
    To: org.apache.httpcomponents.httpclient [4.3.6.v201411290715B]

提示说我的Eclipse缺少:org.apache.httpcomponents.httpclient 4.3.6.v201411290715B

下载apache:http://commons.apache.org/proper/commons-codec/download_codec.cgi

选择Binaries下面的文件下载。


把"commons-codec-1.1..jar"拷贝到“Eclipse\plugins”文件夹中,并且把名称改为你需要的名称,比如我安装的时候Eclipse提示我缺少“org.apache.httpcomponents.httpclient 4.3.6.v201411290715B”,于是我把“commons-codec-1.1..jar”改为“org.apache.httpcomponents.httpclient 4.3.6.v201411290715B.jar”。

最后重启Eclipse。

如果我写的有什么不懂的,可以参考:http://stackoverflow.com/questions/23062903/eclipse-cannot-complete-the-install-because-one-or-more-required-items-could-n

另一个问题:

Your original request has been modified.
  "Eclipse Git Team Provider" is already installed, so an update will be performed instead.
  "Java implementation of Git" is already installed, so an update will be performed instead.
Cannot complete the install because one or more required items could not be found.
  Software being installed: Git Team Provider - experimental auto-import (Incubation) 4.3.1.201605051710-r (org.eclipse.egit.ui.importer 4.3.1.201605051710-r)
  Missing requirement: Import framework 0.2.0.v20151123-1229 (org.eclipse.e4.ui.importer 0.2.0.v20151123-1229) requires 'bundle org.eclipse.core.jobs 3.7.0' but it could not be found
  Cannot satisfy dependency:
    From: Git Team Provider - experimental auto-import (Incubation) 4.3.1.201605051710-r (org.eclipse.egit.ui.importer 4.3.1.201605051710-r)
    To: bundle org.eclipse.e4.ui.importer 0.1.0

这个问题产生的原因是Eclipse和EGit的版本不兼容。

Eclipse3.7或者4.2以上的选择EGit 2.3,这个我也是在国外刨的

参考网址:http://stackoverflow.com/questions/15439104/can-install-egit-missing-requirement-git-team-provider-core

如果小弟写得不对,还请各位大哥斧正,谢谢。


  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值