Peter Tillotson <slatemine <at> yahoo.co.uk> writes: > > Full stack traces: > > java.lang.NoClassDefFoundError: > Could not initialize class com.sun.jna.Native > > > at com.sun.jna.Pointer.<clinit>(Pointer.java:42) > at org.apache.cassandra.cache.SerializingCache.serialize(SerializingCache.java:92)
Note that the exception is thrown from com.sun.jna.Pointer, while it is loading com.sun.jna.Native. JNA *has* been found, and started loading, but encountered some problem that prevented the com.sun.jna.Native class from initializing. This may be because you have two conflicting versions of jna.jar in your classpath, or conflicting versions of the JNA native library stub in your library load path. Version 3.4.0 of JNA (available soon) will make these sorts of conflicts more obvious.