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

Tycho构建报错:无法满足org.eclipse.osgi依赖要求

问题:Tycho构建时无法解析org.eclipse.osgi依赖

将RCP应用从Java 8迁移至Java 11后,新增了一个提供JAX-WS组件的fragment项目,其宿主为system.bundle。本地测试RCP项目可正常解析JAX-WS组件并成功调用Web服务,但执行Tycho构建时出现如下错误:

[DEBUG] No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from j17-jaxws-fragment 1.0.0.qualifier to osgi.bundle; org.eclipse.osgi 0.0.0.; No solution found because the problem is unsatisfiable.]
[INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: j17-jaxws-fragment 1.0.0.qualifier
[ERROR]   Missing requirement: j17-jaxws-fragment 1.0.0.qualifier requires 'osgi.bundle; org.eclipse.osgi 0.0.0' but it could not be found

环境信息

openjdk version "18.0.1.1" 2022-04-22
OpenJDK Runtime Environment (build 18.0.1.1+2-6)
OpenJDK 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)
Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: C:\apache-maven-3.8.5
Java version: 18.0.1.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-18.0.1.1
Default locale: de_DE, platform encoding: UTF-8

已尝试的操作

  • 使用-Dtycho.debug.resolver=true参数调试,未发现有效线索

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.27 04:37:34