我刚刚在我的tata-core-provider-servlets pom.xml中添加了一个新的依赖项:版本“0.7.0”中的“io.jsonwebtoken”。我可以在Eclipse中构建我的项目,但是当我想在Karaf中启动它时,我有这个错误:
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 :(得分:0)
您论坛中的其他一些库需要版本> 1,我猜。