0
我目前正試圖將datastax核心java驅動程序轉換爲OSGi等效軟件包,但不斷收到錯誤。OSGi兼容DataStax核心軟件包
我使用的版本是
<dependency>
<groupId>com.datastax.cassandra</groupId>
<artifactId>cassandra-driver-core</artifactId>
<version>2.0.0-beta1</version>
</dependency>
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle MyFramework [1]: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=com.codahale.metrics)(version>=3.0.0)(!(version>=4.0.0))) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942) at com.ebay.mypackage.InitializeOSGiFramework.installAndStartBundle(InitializeOSGiFramework.java:307)
任何指針的高度讚賞。有沒有人將datastax轉換爲OSGi包?
感謝您的信息......不幸的是,我需要繼續獲取依賴關係並分別安裝它們中的每一個。這有點痛苦。我希望很快能看到OSGi自帶的datastax驅動程序 – Masti