找不到“org.eclipse.platform.feature.group [3.4.0,4.0.0)”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12643852/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
'org.eclipse.platform.feature.group [3.4.0,4.0.0)' could not be found
提问by Bohn
I am trying to install an in-house plugin that I has installed several time before but this time I am getting these errors:
我正在尝试安装一个我之前安装过几次的内部插件,但这次我收到了以下错误:
Does it mean it is not compatible with the new EClipse Juno I am using?
这是否意味着它与我正在使用的新 EClipse Juno 不兼容?
Cannot complete the install because one or more required items could not be found.
Software being installed: Maven 2 Tools 2.0.1 (com.Company.engineering.maven.feature.feature.group 2.0.1)
Missing requirement: Maven 2 Tools 2.0.1 (com.Company.engineering.maven.feature.feature.group 2.0.1) requires 'org.eclipse.platform.feature.group [3.4.0,4.0.0)' but it could not be found
回答by irbull
Your in-house plugin is not compatible with the default Eclipse Juno distribution, which is built on Eclipse 4.2. You can see that in your plugin:(com.Company.engineering.maven.feature.feature.group) there is dependency on the Eclipse Platform from [3.4.0, 4.0.0). This means that you plugin will work with Eclipse 3.4 up-to (but not including) 4.0.0.
您的内部插件与基于 Eclipse 4.2 构建的默认 Eclipse Juno 发行版不兼容。您可以在插件中看到:(com.Company.engineering.maven.feature.feature.group) 依赖于 [3.4.0, 4.0.0) 的 Eclipse 平台。这意味着您的插件将与 Eclipse 3.4 一起使用(但不包括)4.0.0。
You have two options here:
您在这里有两个选择:
Update your plugin. There is a compatibility layer between Eclipse 3.x and 4.x, so you might just need to update the version ranges in your dependency. This assumes you have access to com.Company.engineering.maven.feature.feature.group.
Use Eclipse 3.8 as your base. You can get this from http://download.eclipse.org/eclipse/downloads/eclipse3x.html. However, this will be the last Eclipse release based on 3.x, so you should consider updating soon.
更新您的插件。Eclipse 3.x 和 4.x 之间有一个兼容层,因此您可能只需要更新依赖项中的版本范围。这假设您有权访问 com.Company.engineering.maven.feature.feature.group。
使用 Eclipse 3.8 作为基础。您可以从http://download.eclipse.org/eclipse/downloads/eclipse3x.html获得它。但是,这将是基于 3.x 的最后一个 Eclipse 版本,因此您应该考虑尽快更新。
回答by Eugene
回答by Hai-Yang Li
My Eclipse is 4.2.2, and the error disappear when i updated the Eclipse with the link 'http://download.eclipse.org/eclipse/updates/4.2'.
我的 Eclipse 是 4.2.2,当我使用链接“ http://download.eclipse.org/eclipse/updates/4.2”更新 Eclipse 时,错误消失了。