运行Akka项目时java.library.path中没有leveldbjni64-1.8异常 [英] no leveldbjni64-1.8 in java.library.path exception while running akka project

查看:384
本文介绍了运行Akka项目时java.library.path中没有leveldbjni64-1.8异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从主类开始一个现有项目.但是在下面得到了例外.

I am trying to start an existing project from the main class. But getting the exception below.

java.lang.UnsatisfiedLinkError:无法加载库.原因:[java.library.path中没有leveldbjni64-1.8,java.library.path中没有leveldbjni-1.8,java.library.path中没有leveldbjni,C:\ Users \ Z003SXSP \ AppData \ Local \ Temp \ leveldbjni-64 -1-386410980806513791.8:找不到依赖库]

java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path, C:\Users\Z003SXSP\AppData\Local\Temp\leveldbjni-64-1-386410980806513791.8: Can't find dependent libraries]

但是当我尝试从其他计算机上运行同一项目时,我能够成功运行它,还发现在temp目录中已创建leveldbjni-64-1-386410980806513791.8文件.无法理解为什么它无法生成该文件,并抱怨以上内容导致我的计算机出现shutting down JVM.

But when I tried running the same project from other machine, I am able to run it successfully also found leveldbjni-64-1-386410980806513791.8 file has been created in temp directory. Not getting why it not able to generate that file and complaining the above resulting in shutting down JVM from my machine.

附加了日志的屏幕截图.

Attached the screenshot of the log.

TIA.

推荐答案

您需要为Windows计算机安装Microsoft Visual C ++ 2010 Redistributable,这可能会解决您的问题,请参阅此处以获取更多信息:-

You need to install the Microsoft Visual C++ 2010 Redistributable for your windows machine, that may solve your issue, refer here for more :-link

这篇关于运行Akka项目时java.library.path中没有leveldbjni64-1.8异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆