简体   繁体   English

在eclipse上安装EGit会导致问题

[英]Installing EGit on eclipse causes problems

I've tried installing the EGit plugin on Eclipse with this link: http://download.eclipse.org/egit/updates 我尝试使用以下链接在Eclipse上安装EGit插件: http//download.eclipse.org/egit/updates

I chose both, the Eclipse Git Team Provider and JGit and hit on next. 我选择了Eclipse Git Team ProviderJGit然后点击下一步。 Then, the window says The operation cannot be completed. See the details. 然后,窗口The operation cannot be completed. See the details. The operation cannot be completed. See the details. .

This is the window: 这是窗口:

在此输入图像描述

The error lines say: 错误行说:

Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Git Team Provider 3.0.3.201309161630-r
(org.eclipse.egit.feature.group 3.0.3.201309161630-r)
Software currently installed: Eclipse SDK 3.7.2.M20120208-0800 (org.eclipse.sdk.ide 3.7.2.M20120208-0800) Only one of the following can be installed at once: Team Support Core 3.7.0.v20130514-1224 (org.eclipse.team.core 3.7.0.v20130514-1224) Team Support Core 3.5.0.I20090527-0620 (org.eclipse.team.core 3.5.0.I20090527-0620) Team Support Core 3.5.1.r35x_20100113-0800 (org.eclipse.team.core 3.5.1.r35x_20100113-0800) Team Support Core 3.6.0.I20110525-0800 (org.eclipse.team.core 3.6.0.I20110525-0800)
Cannot satisfy dependency: From: Eclipse Git Team Provider 3.0.3.201309161630-r (org.eclipse.egit.feature.group 3.0.3.201309161630-r) To: org.eclipse.egit.ui [3.0.3.201309161630-r]
Cannot satisfy dependency: From: Git Team Provider UI 3.0.3.201309161630-r (org.eclipse.egit.ui 3.0.3.201309161630-r) To: bundle org.eclipse.team.core [3.6.100,4.0.0)
Cannot satisfy dependency: From: Eclipse Platform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q (org.eclipse.platform.feature.group 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q) To: org.eclipse.team.core [3.6.0.I20110525-0800]
Cannot satisfy dependency: From: Eclipse Project SDK 3.7.2.r37x_v20111213-7Q7xALDPb32vCjY6UACVPdFTz-icPtJkUadz0lMmk4z-8 (org.eclipse.sdk.feature.group 3.7.2.r37x_v20111213-7Q7xALDPb32vCjY6UACVPdFTz-icPtJkUadz0lMmk4z-8) To: org.eclipse.platform.feature.group [3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q]
Cannot satisfy dependency: From: Eclipse SDK 3.7.2.M20120208-0800 (org.eclipse.sdk.ide 3.7.2.M20120208-0800) To: org.eclipse.sdk.feature.group [3.7.2.r37x_v20111213-7Q7xALDPb32vCjY6UACVPdFTz-icPtJkUadz0lMmk4z-8]

I really don't know what is going on, but I want to get this to work so badly. 我真的不知道发生了什么,但我想让这个工作如此糟糕。 Thanks in advance for everyone's support! 在此先感谢大家的支持!

From the error message it looks like you are using Eclipse 3.7 (which is about 2 years old at the time of writing this answer). 从错误消息中看起来您正在使用Eclipse 3.7(在撰写此答案时大约2岁)。

EGit 3.0 requires at least Eclipse 3.8.2 or Eclipse 4.2.2, see What versions of Eclipse does EGit target? EGit 3.0至少需要Eclipse 3.8.2或Eclipse 4.2.2,请参阅EGit的目标版本是什么? in the FAQ. 在FAQ中。

So the solution is to upgrade to a recent version of Eclipse, see Eclipse downloads . 因此解决方案是升级到最新版本的Eclipse,请参阅Eclipse下载

Alternatively, if you need to stick to Eclipse 3.7.2 for some reason, you can use EGit version 1.3 . 或者,如果由于某种原因需要坚持使用Eclipse 3.7.2 ,则可以使用EGit 1.3版。 This is the best update site to use in that case: eclipse indigo update site . 这是在这种情况下使用的最佳更新站点: eclipse indigo更新站点 If you filter by "git" you will get the correct plugins to install. 如果您按“git”过滤,您将获得要安装的正确插件。

通过'git'更新对话框过滤器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM