【问题标题】:Unable to install egit plugin in eclipse galileo无法在 eclipse galileo 中安装 egit 插件
【发布时间】:2016-07-01 23:12:00
【问题描述】:

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

this post了解到,我们需要在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

【问题讨论】:

  • 伽利略已经很老了,EGit 可能需要更新的东西。我们需要查看完整的详细信息。
  • @greg-449 我更新了帖子!!!!!
  • Eclipse 现在是 4.5 版。错误消息清楚地表明该版本的 EGit 需要 3 系列 3.7 或更高版本。您不能使用现代版本有什么特别的原因吗?

标签: java eclipse git egit galileo


【解决方案1】:

错误的关键部分是

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(我不知道是否存在合适的版本)。

【讨论】:

  • 可以在此处找到旧 EGit 版本及其存储库的列表:wiki.eclipse.org/EGit/…
  • @greg-449 我应该下载更新版本的 Eclipse。您认为问题会得到解决吗?
  • EGit 绝对可以在当前版本的 Eclipse 上运行,事实上我认为很多下载都包含了它的预安装。
  • 与Eclipse Galileo(3.6.2等)兼容的egit版本为archive.eclipse.org/egit/updates-2.1
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2016-03-25
  • 1970-01-01
  • 2014-08-05
  • 1970-01-01
  • 2011-12-27
  • 2010-10-18
  • 2012-04-03
相关资源
最近更新 更多