无法解决190.0:缺少要求[190.0] osgi.wiring.package; (osgi.wiring.package = com.google.protobuf)

时间:2018-11-06 14:56:32

标签: bazel

我正在使用bazel来构建项目,但是当我激活依赖于捆绑软件的应用程序时,由于缺少需求,它无法启动该捆绑软件。您知道应该在BUILD文件中添加什么依赖性吗?

Could not start bundle mvn:org.onosproject/onos-incubator-protobuf-models-proto/1.15.0-SNAPSHOT in feature(s) onos-apps-kafka-integration-1.15.0-SNAPSHOT: Unresolved constraint in bundle org.onosproject.onos-incubator-protobuf-models-proto [190]: Unable to resolve 190.0: missing requirement [190.0] osgi.wiring.package; (osgi.wiring.package=com.google.protobuf)
    at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:403)
    at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:371)
    at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:349)
    at Proxyce65698f_9148_461b_a695_50da410721c9.installFeature(Unknown Source)
    at org.onosproject.app.impl.ApplicationManager.installAppFeatures(ApplicationManager.java:283)
    at org.onosproject.app.impl.ApplicationManager.access$200(ApplicationManager.java:66)
    at org.onosproject.app.impl.ApplicationManager$InternalStoreDelegate.notify(ApplicationManager.java:210)
    at org.onosproject.app.impl.ApplicationManager$InternalStoreDelegate.notify(ApplicationManager.java:202)
    at org.onosproject.store.AbstractStore.notifyDelegate(AbstractStore.java:58)[159:org.onosproject.onos-api:1.15.0.SNAPSHOT]
    at org.onosproject.store.app.DistributedApplicationStore.access$800(DistributedApplicationStore.java:99)[163:org.onosproject.onos-core-dist:1.15.0.SNAPSHOT]
    at org.onosproject.store.app.DistributedApplicationStore$AppActivator.accept(DistributedApplicationStore.java:530)[163:org.onosproject.onos-core-dist:1.15.0.SNAPSHOT]
    at org.onosproject.store.app.DistributedApplicationStore$AppActivator.accept(DistributedApplicationStore.java:523)[163:org.onosproject.onos-core-dist:1.15.0.SNAPSHOT]
    at org.onosproject.store.atomix.primitives.impl.AtomixDistributedTopic.lambda$subscribe$0(AtomixDistributedTopic.java:63)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_171]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_171]
    at java.lang.Thread.run(Thread.java:748)[:1.8.0_171]

谢谢, 阿迪布

0 个答案:

没有答案