如何解决osgi包未启动的问题?

问题描述 投票:0回答:1

我正在运行 Eclipse 插件的构建。之前我只在Github的CI服务器上有这个问题,我本地的桌面上没有这个问题。但这个问题也开始出现在我的电脑上。

Error:  Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:4.0.1:publish-osgi-ee (default-publish-osgi-ee) on project org.scala-ide.zinc.update-site: Publisher failed. Verify your target-platform-configuration and executionEnvironment are suitable for proper resolution: bundle org.eclipse.equinox.p2.repository is not started -> [Help 1]

我已在控制台中检查了捆绑包的状态。所以我不知道出了什么问题:

g! ss org.eclipse.equinox.p2.repository

id      State       Bundle
234     ACTIVE      org.eclipse.equinox.p2.repository_2.8.100.v20240207-1113
235     STARTING    org.eclipse.equinox.p2.repository.tools_2.4.300.v20240207-1113
g!
osgi osgi-bundle tycho
1个回答
0
投票

我将tycho版本更新到4.0.7,错误消失了。

这似乎是4.0.1版本的一个错误。

https://github.com/eclipse-tycho/tycho/discussions/3738

© www.soinside.com 2019 - 2024. All rights reserved.