【问题标题】:While Installing STS in Eclipse IDE for Java Developers showing error在 Eclipse IDE 中为 Java 开发人员安装 STS 时显示错误
【发布时间】:2019-07-17 11:54:11
【问题描述】:

我在我的 Eclipse 中设置了一个 STS 来创建 Spring Boot 项目。但是从市场安装 sts 时显示错误。

Cannot complete the install because one or more required items could not be found.
  Software being installed: Spring IDE AJDT Integration (optional) 3.9.9.201906180643-RELEASE (org.springframework.ide.eclipse.ajdt.feature.feature.group 3.9.9.201906180643-RELEASE)
  Missing requirement: Spring IDE Live Beans Graph 3.9.9.201906180643-RELEASE (org.springframework.ide.eclipse.beans.ui.livegraph 3.9.9.201906180643-RELEASE) requires 'osgi.bundle; org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Spring IDE AJDT Integration (optional) 3.9.9.201906180643-RELEASE (org.springframework.ide.eclipse.ajdt.feature.feature.group 3.9.9.201906180643-RELEASE)
    To: org.eclipse.equinox.p2.iu; org.springframework.ide.eclipse.feature.feature.group 0.0.0
  Cannot satisfy dependency:
    From: Spring IDE Core (required) 3.9.9.201906180643-RELEASE (org.springframework.ide.eclipse.feature.feature.group 3.9.9.201906180643-RELEASE)
    To: org.eclipse.equinox.p2.iu; org.springframework.ide.eclipse.beans.ui.livegraph [3.9.9.201906180643-RELEASE,3.9.9.201906180643-RELEASE]

Spring Tools 3 (Standalone Edition) 3.9.9 Release

【问题讨论】:

  • 您为什么仍然使用 STS3 而不是 4 的任何原因?
  • 即使我尝试了 4 但同样的问题。
  • 这个 Marketplace 项目对于不同的 Eclipse 版本有不同的更新 URL。 upgrading to Eclipse 2019-06 在安装 STS 3 之前是否可以解决您的问题?

标签: java spring eclipse spring-boot spring-tool-suite


【解决方案1】:

安装过程似乎抱怨缺少捆绑包org.eclipse.zest.core。此捆绑包来自主 Eclipse p2 存储库,不是 STS 3.9.9 p2 存储库的一部分。在安装 Marketplace 条目期间,将考虑所有已配置的 p2 存储库,因此从市场中选择 STS 3.9.9 条目将导致从主 Eclipse p2 存储库下载此捆绑包。

因此,请确保主 Eclipse p2 存储库已在您的首选项 (Preferences -> Install/Update -> Available Update Sites) 中配置并启用。

如果是这样,则可能有过时的缓存数据阻止 Eclipse 在主 Eclipse 存储库中找到该包。在这种情况下,从首选项中删除主 Eclipse p2 存储库,重新启动 Eclipse,然后将其添加回来。然后再次尝试 STS 3.9.9 的市场入口。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-09-19
    • 1970-01-01
    • 2016-12-24
    • 2012-11-24
    • 1970-01-01
    • 1970-01-01
    • 2020-06-01
    • 2020-08-25
    相关资源
    最近更新 更多