【问题标题】:Eclipse - Cannot complete the install because one or more required items could not be found (unzip Setup Task)Eclipse - 无法完成安装,因为找不到一个或多个必需项目(解压缩安装任务)
【发布时间】:2021-01-14 08:18:16
【问题描述】:

我正在尝试通过在 omph 设置期间使用链接来安装带有 Oomph 的 eclipse

(Eclipse Installer >> Advanced Mode >> Eclipse Modelling Tools >> Add user Project (Eclipse Project) 

我正在粘贴一个链接以完成安装。 当我单击下一步并完成时,会产生以下错误:

org.eclipse.core.runtime.CoreException: Cannot complete the install because one or more required items could not be found.
    at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:291)
    at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.resolve(ProfileTransactionImpl.java:428)
    at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:340)
    at org.eclipse.oomph.setup.ui.EnablementComposite$5.run(EnablementComposite.java:318)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Contains: Software being installed: artificial_root 1.0.0.v1601316435220
Contains: Missing requirement: unzip Setup Task 1.0.0.201612071748 (com.github.maybeec.oomph.task.unzip 1.0.0.201612071748) requires 'osgi.bundle; org.junit 0.0.0' but it could not be found
Contains: Cannot satisfy dependency:
Contains: From: artificial_root 1.0.0.v1601316435220
Contains: To: org.eclipse.equinox.p2.iu; com.github.maybeec.oomph.task.unzip.feature.feature.group 0.0.0
Contains: Cannot satisfy dependency:
Contains: From: unzip Setup Task 1.0.0.201612071748 (com.github.maybeec.oomph.task.unzip.feature.feature.group 1.0.0.201612071748)
Contains: To: org.eclipse.equinox.p2.iu; com.github.maybeec.oomph.task.unzip [1.0.0.201612071748,1.0.0.201612071748]

你知道我该如何解决这个问题吗?

【问题讨论】:

  • 日志说找不到插件/捆绑包org.junit(任何版本)(我不清楚为什么解压缩设置任务需要它)。粘贴的链接是执行时导致此错误的 Oomph 脚本,对吗?如果我理解正确(但我不是 Oomph 专家),您必须知道脚本才能说明找不到 org.junit 的原因或位置。

标签: eclipse eclipse-plugin eclipse-emf oomph eclipse-installer


【解决方案1】:

Oomph 安装缺少 org.junit,最近的安装程序版本似乎不再存在。 这个问题也在“解压缩设置任务”github上报告:https://github.com/maybeec/oomph-task-unzip/issues/17 我正在那里提交解决方法并修复建议。

【讨论】:

    猜你喜欢
    • 2014-04-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-10-21
    • 1970-01-01
    • 2013-03-11
    相关资源
    最近更新 更多