本文介绍了为什么仍然在Cassandra启动时收到JNA错误,甚至jna.jar和platform.jar都在lib目录中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载并复制Jna.jar和Platform.jar到/usr/cassandra/apache-cassandra-1.0.7/lib文件夹,但仍然看到Cassandra启动时的以下错误,我错过了什么?

I have downloaded and copied Jna.jar and Platform.jar to /usr/cassandra/apache-cassandra-1.0.7/lib folder, but still see the following error on Cassandra startup, am I missing anything?

"On cassandra JNA not found. Native methods will be disabled."

下面是我获取Jna.jar和Platform.jar

And the following are where I get the Jna.jar and Platform.jar


https://github.com/downloads/twall/jna/platform.jar

https://github.com/downloads/twall/jna/jna.jarhttps://github.com/downloads/twall/jna/platform.jar

推荐答案

根据。

Ubunto 12.10

Cassandra 1.1.6

Ubunto 12.10
Cassandra 1.1.6

我通过

sudo apt-get install libjna-java
sudo ln -s /usr/share/java/jna.jar /usr/share/cassandra/lib

这篇关于为什么仍然在Cassandra启动时收到JNA错误,甚至jna.jar和platform.jar都在lib目录中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 20:13