获取和错误"无法完成安装,因为无法找到一个或多个必需项目"在oomp安装程序中

时间:2016-07-01 15:07:24

标签: eclipse oomph

尝试使用oomph设置eclipse开发环境,但收到错误"无法完成安装,因为无法找到一个或多个必需的项目"

请参阅堆栈跟踪:

    ERROR: org.eclipse.equinox.p2.director code=10053 Cannot complete the install because one or more required items could not be found.
at org.eclipse.oomph.targlets.internal.core.TargletContainer.forceUpdate(TargletContainer.java:778)
at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl$4.run(TargletTaskImpl.java:1128)
at org.eclipse.oomph.util.pde.TargetPlatformUtil.runWithTargetPlatformService(TargetPlatformUtil.java:119)
at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl.perform(TargletTaskImpl.java:1036)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3021)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:2964)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:4160)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:4154)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:4152)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:2955)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:2930)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:2861)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:555)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:681)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1467382214442
ERROR: org.eclipse.equinox.p2.director code=0 Missing requirement: Infocenter_feature Feature 1.0.0 (org.eclipse.help.infocenter_feature.feature.group 1.0.0) requires 'org.apache.commons.el 0.0.0' but it could not be found
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: artificial_root 1.0.0.v1467382214442
ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.help.infocenter_feature.feature.group 0.0.0

Took 2610 seconds.
There are failed tasks.
Press Back to choose different settings or Cancel to abort.

任何解决此问题的线索或指针,并使用oomph成功设置eclipse开发环境?

1 个答案:

答案 0 :(得分:0)

从日志中,您正在尝试安装org.eclipse.help.infocenter_feature.feature.group,此功能需要org.apache.commons.el

您能说出您在安装程序中选择了什么吗?

这是您编写的设置任务吗? 如果是这样,您可能需要一个P2设置任务,其中包含提供此捆绑包的P2 Repo。

编辑:

重现您的问题:

步骤1:为Eclipse Commiter选择任何Eclipse" Eclipse IDE"是一种可能性:

Oomph product selection

第2步:选择项目的设置" UA" (UA在"平台":

下表示user assistance

Oomph project selection

此项目的安装脚本存在问题。目前," UA"在Bug 497350解决之前,无法使用Oomph设置项目。