You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Eclipse中Cucumber插件安装失败:缺失org.eclipse.ui.trace依赖

解决Cucumber Eclipse插件安装失败的依赖问题

问题描述

尝试通过Eclipse Marketplace、「安装新软件」及拖拽方式安装Cucumber插件均失败,错误信息如下:

Thu Aug 31 15:24:19 EDT 2023
缺失依赖项:Cucumber Editor 2.0.0.202308161613(io.cucumber.eclipse.editor 2.0.0.202308161613)需要 'osgi.bundle; org.eclipse.ui.trace 0.0.0' 但未找到。

解决方案

  • 升级Eclipse版本:Cucumber Editor 2.0.0依赖的org.eclipse.ui.trace是2023-06及以后版本Eclipse才包含的组件,若你的Eclipse版本过旧,直接升级到对应稳定版即可解决依赖缺失问题。
  • 启用自动依赖搜索:在「安装新软件」界面,勾选「联系所有更新站点以找到所需的软件」选项,同时确保已添加当前Eclipse版本的官方更新源(比如2023-06版本的更新URL为https://download.eclipse.org/releases/2023-06/),让Eclipse自动下载并安装缺失的org.eclipse.ui.trace依赖。
  • 手动安装依赖组件:若自动搜索失败,可单独安装org.eclipse.ui.trace:打开「安装新软件」,输入对应Eclipse版本的官方更新URL,搜索「org.eclipse.ui.trace」,勾选匹配的组件完成安装后,再重新安装Cucumber插件。
  • 降级Cucumber插件版本:如果无法升级Eclipse,可尝试安装Cucumber插件的旧版本(如1.10.x系列),这类版本通常不依赖org.eclipse.ui.trace组件。

内容的提问来源于stack exchange,提问作者user1943858

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.11 17:22:10