在Eclipse Juno

时间:2016-06-28 21:25:01

标签: eclipse egit eclipse-juno

我试图将EGit安装到Eclipse Juno中。但是,我收到以下错误:

Cannot complete the install because one or more required items could not be found.
Software being installed: Command Line Interface for Java implementation of Git 4.4.0.201606070830-r (org.eclipse.jgit.pgm.feature.group 4.4.0.201606070830-r)
Missing requirement: JGit Large File Storage Server 4.4.0.201606070830-r (org.eclipse.jgit.lfs.server 4.4.0.201606070830-r) requires 'package javax.servlet [3.1.0,4.0.0)' but it could not be found
Cannot satisfy dependency:
From: Java implementation of Git - optional LFS support 4.4.0.201606070830-r (org.eclipse.jgit.lfs.feature.group 4.4.0.201606070830-r)
To: org.eclipse.jgit.lfs.server [4.4.0.201606070830-r]
Cannot satisfy dependency:
From: Command Line Interface for Java implementation of Git 4.4.0.201606070830-r (org.eclipse.jgit.pgm.feature.group 4.4.0.201606070830-r)
To: org.eclipse.jgit.lfs.feature.group [4.4.0.201606070830-r]

我添加了存储库之后尝试删除了一些组件,但似乎没有找到解决方法。谁能建议我能做什么?我尝试使用Google搜索缺少的依赖项package javax.servlet [3.1.0,4.0.0)

1 个答案:

答案 0 :(得分:2)

您的Eclipse版本太旧,无法安装此代码。

消息'requires'包javax.servlet [3.1.0,4.0.0]''表示所需的'javax.servlet'插件的最低版本是3.1.0。 Eclipse Juno有3.0.0