我在Windows 7 x64和Java8 101上使用了分发-karaf-0.5.0-Boron版本的opendayligth控制器。
当我跑步时
feature:install odl-dlux-core
我收到了这样的错误:
opendaylight-user@root>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
包括:
但我仍然遇到同样的问题,我错过了什么吗?
答案 0 :(得分:1)
最后通过安装vc 2010 x64 redistribuition包重新安装 https://download.microsoft.com/download/3/2/2/3224B87F-CFA0-4E70-BDA3-3DE650EFEBA5/vcredist_x64.exe
步骤: