2017-02-20 66 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

哪個明顯?在我的項目或卡拉夫? –

相關問題