1

我有一个 git URI,我想将该项目导入 Eclipse。

这篇文章中我了解到我们需要在 Eclipse 中安装 egit 软件。但是当我尝试安装此软件时,我收到以下错误消息:

在此处输入图像描述

我只是在想 egit 的存储库是否已移至其他地方,或者是否存在任何兼容性问题?我完全不确定。

我正在使用 Eclipse Galileo 平台版本:3.5.2 构建 ID:M20100211-1343。有没有遇到同样问题的人??

更新——这是完整的错误信息

Cannot complete the install because one or more required items could not be found.
  Software being installed: Eclipse Git Team Provider 4.2.0.201601211800-r (org.eclipse.egit.feature.group 4.2.0.201601211800-r)
  Missing requirement: Eclipse Git Team Provider 4.2.0.201601211800-r (org.eclipse.egit.feature.group 4.2.0.201601211800-r) requires 'org.eclipse.core.runtime [3.7.0,4.0.0)' but it could not be found
4

1 回答 1

3

错误的关键部分是

requires 'org.eclipse.core.runtime [3.7.0,4.0.0)'.

这就是说org.eclipse.core.runtime插件必须至少是 3.7.0 版本(低于 4.0.0)。

Eclipse Galileo 中的版本org.eclipse.core.runtime是 3.5.0,所以这个版本的 EGit 不能安装在 Galileo 上。要么移动到较新的 Eclipse,要么尝试找到较旧的 EGit(我不知道是否存在合适的版本)。

于 2016-03-16T08:53:08.413 回答