2

我正在尝试将捆绑包部署到 osgi,但出现此错误

An Import-Package could not be resolved. Resolver error data <Import-Package: signature; version="0.0.0">. Caused by missing constraint in bundle....
constraint: <Import-Package: signature; version="0.0.0">

at org.eclipse.virgo.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:46)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:73)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:360)
... 9 common frames omitted

我在 maven 的任何地方都找不到这个签名依赖,因为我的其他依赖问题有完整的组路径,我假设这个工件只被称为“签名”。我遇到的与此类似的其他问题是 jline 和 jess,但在找到这些工件时没有问题。

有人知道这个神器吗?

谢谢!

4

1 回答 1

1

您是否在蓝图中使用此包名称定义了一个类?蓝图上下文也由 maven bundle 插件分析。

于 2012-10-21T06:55:51.220 回答