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

时间:2018-05-11 11:33:58

标签: eclipse oomph

Calculating requirements and dependencies.
Cannot complete the request.  Generating details.
ERROR: org.eclipse.pde.core code=0 Problems occurred while resolving the target contents
  at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:280)
  at org.eclipse.oomph.util.pde.TargetPlatformUtil.activateTargetDefinition(TargetPlatformUtil.java:151)
  at org.eclipse.oomph.targlets.internal.core.TargletContainer.forceUpdate(TargletContainer.java:787)
  at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl$4.run(TargletTaskImpl.java:1167)
  at org.eclipse.oomph.util.pde.TargetPlatformUtil.runWithTargetPlatformService(TargetPlatformUtil.java:120)
  at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl.perform(TargletTaskImpl.java:1033)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3332)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3275)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:4502)
  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:4496)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:4494)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3266)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3241)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3141)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:575)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:701)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
  ERROR: org.eclipse.equinox.p2.director code=10053 Cannot complete the install because one or more required items could not be found.
    ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1526038212974
    ERROR: org.eclipse.equinox.p2.director code=0 Missing requirement: Utils classes for JUnit tests 2.1.100.201803121156 (org.eclipse.papyrus.junit.utils 2.1.100.201803121156) requires 'bundle org.eclipse.papyrus.uml.tools [4.0.0,5.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.v1526038212974
      ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.papyrus.junit.utils 0.0.0

Took 66 seconds.
There are failed tasks.

1 个答案:

答案 0 :(得分:0)

我尝试使用您的链接进行设置,并获得与您完全相同的堆栈跟踪和基础错误。

其他人也遇到了同样的潜在问题(即" ...需要'捆绑org.eclipse.papyrus.uml.tools [4.0.0,5.0.0)&#39 ;但无法找到" )和raised it on Eclipse's Papyrus-RT forum

他们在2002年12月2日对问题的回应是:

  

如果你想要开发者环境,不幸的是,此时Oomph设置模型因为与之相关的一些问题而被破坏   目标平台及其对基础纸莎草纸的依赖性。我们是   试图修复它们,但我们不知道何时修复它们。

     

与此同时,我试图写下有关设置的说明   手动环境,但这并不容易,而且还需要一些   时间。

     

但是当我在这里提供说明时,我会发布一条说明   维基。

因此看起来目前无法使用Oxygen执行Oomph设置。请注意,您链接到的文档中的所有屏幕截图均来自Mars和Neon,使用的是早期版本的Java 8,距离2016年。