插件安装失败,因为缺少必需的项目 [英] Plugin installation fails because required items are missing

查看:597
本文介绍了插件安装失败,因为缺少必需的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图为Eclipse安装 Web Tool Platform ,但由于出现以下错误,我无法成功。

I tried to install Web Tool Platform for Eclipse but I can not succeed due to the following error.


无法完成
安装,因为无法找到一个或多个所需项目。

正在安装的软件:CXF Web Services
1.1.0.v201201312103 -7H79FHxFAKlbotH5e9l3vAA6MBG(org.eclipse.jst.ws.cxf.feature.feature.group
1.1.0.v201201312103-7H79FHxFAKlbotH5e9l3vAA6MBG)缺少需求:Java EE组件1.1.501.v201108102200
(org.eclipse。 jst.j2ee 1.1.501.v201108102200)需要'bundle
org.eclipse.emf.codegen [2.2.0,3.0.0]'但是找不到

缺少需求:Java EE组件1.1.501.v201109131730
(org.eclipse.jst.j2ee 1.1.501.v201109131730)要求'bundle
org.eclipse.emf.codegen [2.2.0,3.0.0)'但是无法找到

缺少需求:Java EE组件1.1.600.v201203142300
(org.eclipse.jst.j2ee 1.1.600.v20120314230 0)需要'bundle
org.eclipse.emf.codegen [2.2.0,3.0.0]'但是找不到

缺少需求:Java EE组件1.1.600.v201205030130
(org.eclipse.jst.j2ee 1.1.600.v201205030130)需要'bundle
org.eclipse.emf.codegen [2.2.0,3.0.0]',但无法找到

缺少需求:Java EE组件1.1.600.v201205170400
(org.eclipse.jst.j2ee 1.1.600.v201205170400)需要'bundle
org.eclipse.emf.codegen [2.2 .0,3.0.0)'但是找不到

缺少需求:Java EE组件1.1.601.v201207101600
(org.eclipse.jst.j2ee 1.1.601.v201207101600)需要'bundle
org.eclipse.emf.codegen [2.2.0,3.0.0)'但是找不到

无法满足依赖关系:
从:CXF Web服务Core 1.1.0.v201205012246(org.eclipse.jst.ws.cxf.core 1.1.0.v201205012246)
To:bundle org.eclipse.jst.j2ee [1.1.0,1.2.0]无法满足依赖关系:
从:CXF Web服务1.1.0.v201201312103-7H79FHxFAKlbotH5e9l3vAA6MBG(org.eclipse.jst.ws.cxf.feature.feature.group
1.1.0.v201201312103-7H79FHxFAKlbotH5e9l3vAA6MBG)
至:org.eclipse.jst.ws .cxf.core [1.1.0.v201205012246]

Cannot complete the install because one or more required items could not be found.
Software being installed: CXF Web Services 1.1.0.v201201312103-7H79FHxFAKlbotH5e9l3vAA6MBG (org.eclipse.jst.ws.cxf.feature.feature.group 1.1.0.v201201312103-7H79FHxFAKlbotH5e9l3vAA6MBG) Missing requirement: Java EE Component 1.1.501.v201108102200 (org.eclipse.jst.j2ee 1.1.501.v201108102200) requires 'bundle org.eclipse.emf.codegen [2.2.0,3.0.0)' but it could not be found
Missing requirement: Java EE Component 1.1.501.v201109131730 (org.eclipse.jst.j2ee 1.1.501.v201109131730) requires 'bundle org.eclipse.emf.codegen [2.2.0,3.0.0)' but it could not be found
Missing requirement: Java EE Component 1.1.600.v201203142300 (org.eclipse.jst.j2ee 1.1.600.v201203142300) requires 'bundle org.eclipse.emf.codegen [2.2.0,3.0.0)' but it could not be found
Missing requirement: Java EE Component 1.1.600.v201205030130 (org.eclipse.jst.j2ee 1.1.600.v201205030130) requires 'bundle org.eclipse.emf.codegen [2.2.0,3.0.0)' but it could not be found
Missing requirement: Java EE Component 1.1.600.v201205170400 (org.eclipse.jst.j2ee 1.1.600.v201205170400) requires 'bundle org.eclipse.emf.codegen [2.2.0,3.0.0)' but it could not be found
Missing requirement: Java EE Component 1.1.601.v201207101600 (org.eclipse.jst.j2ee 1.1.601.v201207101600) requires 'bundle org.eclipse.emf.codegen [2.2.0,3.0.0)' but it could not be found
Cannot satisfy dependency: From: CXF Web Services Core 1.1.0.v201205012246 (org.eclipse.jst.ws.cxf.core 1.1.0.v201205012246) To: bundle org.eclipse.jst.j2ee [1.1.0,1.2.0) Cannot satisfy dependency: From: CXF Web Services 1.1.0.v201201312103-7H79FHxFAKlbotH5e9l3vAA6MBG (org.eclipse.jst.ws.cxf.feature.feature.group 1.1.0.v201201312103-7H79FHxFAKlbotH5e9l3vAA6MBG) To: org.eclipse.jst.ws.cxf.core [1.1.0.v201205012246]

实际上,这发生了很多次,当我尝试通过帮助>安装新软件。例如。我有一段时间试图安装Android SDK。

虽然我通常可以解决它,但是我不敢相信安装插件是如此的痛苦。

Actually this happens a lot of times when I try to install additional software via Help > Install New Software. E.g. I had it some times when trying to install the Android SDK.
Though I could usually solve it while fiddling around with it I can't believe installing plug ins is such a pain.

所以我想我可能会错过一些非常基本的东西,但是找不到提示。所以如果你能帮助我解决这个问题,那么这将是一件很棒的事情,但也提供了一些在一般问题上解决这些问题的信息。

So I think I might missing some very basic things but I can not find a hint. So it would be a great if you could help me to fix this particular problem but also provide some information how to tackle such problems in a more general matter.

推荐答案

在安装对话框的底部,确保安装期间联系所有更新站点以查找所需的软件。

On the bottom of the "Install" dialog, make sure that "Contact all update sites during install to find required software" is checked.

这假设必要的,默认软件站点仍然正确配置(尚未禁用,删除等)并可用。这些在Windows,首选项,安装/更新,可用的软件站点下配置。 (不幸的是,我在这里看不到恢复默认值按钮)对于至少最新版本的Eclipse(4.2 / Juno),您需要确保至少在以下配置和启用以下站点:

This assumes that the necessary, default software sites are still properly configured (haven't been disabled, removed, etc.) and available. These are configured under Windows, Preferences, Install/Update, Available Software Sites. (Unfortunately, I don't see a "restore to defaults" button here.) For at least the latest version of Eclipse (4.2/Juno), you'll want to ensure you have at least the following sites configured and enabled here:

  • Juno : http://download.eclipse.org/releases/juno
  • The Eclipse Project Updates : http://download.eclipse.org/eclipse/updates/4.2
  • The Eclipse Web Tools Platform (WTP) software repository : http://download.eclipse.org/webtools/repository/juno

这篇关于插件安装失败,因为缺少必需的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆