i'm trying to install and execute the cassandra API : hector.
During the launch of the process, 1 exception is throw and this trace appear :
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.cassandra.thrift.Column.(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;J)V at me.prettyprint.cassandra.model.HColumnImpl.toThrift(HColumnImpl.java:112) at me.prettyprint.cassandra.model.MutatorImpl.addInsertion(MutatorImpl.java:98) at me.prettyprint.cassandra.model.MutatorImpl.insert(MutatorImpl.java:54) at com.featherlite.example.dao.ObjectDAO.insert(ObjectDAO.java:87) at com.featherlite.example.ClientExample.testWR(ClientExample.java:148) at com.featherlite.example.ClientExample.main(ClientExample.java:225)
I just launch an project from the example. I didnt write this i just try.
I already saw it happens when i load 2 different or an old thrift jar library. In my project, there are 2 thrifts jar files :
- libthrift-0.7.0.jar
- apache-cassandra-thrift-1.1.0.jar
The first is the jar concerning with this exception because when i delete him, i have more erors.
Apache Cassandra : 1.1.0
Sorry for my bad english :/
kinds regards,