2017-02-20 68 views
0

我刚刚在我的tata-core-provider-servlets pom.xml中添加了一个新的依赖关系:版本“0.7.0”中的“io.jsonwebtoken”。我可以建立我的项目在Eclipse中,但是当我要开始在Karaf捆绑我有这样的错误:Karaf未解决的捆绑约束:!(版本> = 1.0.0)

Error executing command: Error executing command on bundles: 
     Unable to execute command on bundle 758: Unresolved constraint in bundle tata-core-provider-servlets [758]: Unable to resolve 758.0: missing requirement [758.0] osgi.wiring.package; (&(osgi.wiring.package=io.jsonwebtoken)(version>=0.7.0)(!(version>=1.0.0))) 

是否有Karaf的限制?像1.0.0下没有依赖关系?

谢谢

回答

0

你的包中的一些其他库需要version> 1,我猜。

+0

在同一个包中?这很奇怪,因为0.7.0是最新的 –

+0

@Charlyberthet你能否提供你的清单文件? –

+0

哪个明显?在我的项目或卡拉夫? –

相关问题