OSGI:无法解析导入包

时间:2012-10-20 20:55:06

标签: maven import dependencies osgi package

我正在尝试将一个包部署到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,但没有找到这些工件的问题。

有谁知道这个神器?

谢谢!

1 个答案:

答案 0 :(得分:1)

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