0
我在Windows 7 x64和Java8 101上使用了opendayligth控制器的distribution-karaf-0.5.0-Boron版本。opendaylight Boron當功能安裝崩潰odl-dlux-core
當我運行
feature:install odl-dlux-core
我得到了這樣的錯誤:
[email protected]>feature:install odl-dlux-core
Uncaught error from thread [opendaylight-cluster-data-akka.persistence.dispatche
rs.default-plugin-dispatcher-23] shutting down JVM since 'akka.jvm-exit-on-fatal
-error' is enabled for ActorSystem[opendaylight-cluster-data]
java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni6
4-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, E:\odl\distr
ibution-karaf-0.5.0-Boron\data\cache\bundle202\version0.0\bundle.jar-lib\0\META-
INF\native\windows64\leveldbjni.dll: Can't find dependent libraries, E:\odl\dist
ribution-karaf-0.5.0-Boron\data\tmp\leveldbjni-64-1-2257453289313732372.8: Can't
find dependent libraries]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:187)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:143)
at org.fusesource.leveldbjni.JniDBFactory.<clinit>(JniDBFactory.java:48)
at akka.persistence.journal.leveldb.LeveldbStore$class.leveldbFactory(Le
veldbStore.scala:44)
at akka.persistence.journal.leveldb.LeveldbJournal.leveldbFactory(Leveld
bJournal.scala:22)
at akka.persistence.journal.leveldb.LeveldbStore$class.preStart(LeveldbS
tore.scala:170)
at akka.persistence.journal.leveldb.LeveldbJournal.preStart(LeveldbJourn
al.scala:22)
at akka.actor.Actor$class.aroundPreStart(Actor.scala:489)
at akka.persistence.journal.leveldb.LeveldbJournal.aroundPreStart(Leveld
bJournal.scala:22)
at akka.actor.ActorCell.create(ActorCell.scala:590)
at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:461)
at akka.actor.ActorCell.systemInvoke(ActorCell.scala:483)
at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:282)
at akka.dispatch.Mailbox.run(Mailbox.scala:223)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
at java.lang.Thread.run(Thread.java:745)
我已經做了一些修改請點擊此鏈接: Karaf exception is thrown while installing org.fusesource.leveldbjni
包括:
- 添加felix.native.osname.alias.windows7 = Windows 7中,從Win32到 等/ system.properties
- 變化karaf.framework =菲利克斯在custom.properties
- 我有leveldbjni自動下載到我的本地Maven respo 。
但我仍然有同樣的問題,我錯過了什麼?
你可以標記你的答案是正確的。 – Swathin