CassJMeter icon indicating copy to clipboard operation
CassJMeter copied to clipboard

java.lang.NoClassDefFoundError: Could not initialize class com.netflix.jmeter.connections.thrift.ThriftConnection

Open coxx opened this issue 11 years ago • 3 comments

I see this error in jmeter.log when trying to start a test with CassGet. I'm using jmeter-2.9, java version "1.7.0_25" and Mac OS X (the same error I saw on Linux).

Test failed! java.lang.NoClassDefFoundError: Could not initialize class com.netflix.jmeter.connections.thrift.ThriftConnection

coxx avatar Sep 01 '13 20:09 coxx

I think you did not have copy the CassJMeter-0.2-SNAPSHOT.jar in lib and lib/ext in jmeter..

hamedhsn avatar Nov 12 '13 19:11 hamedhsn

Got same error. CassJMeter-0.2-SNAPSHOT.jar was only in lib/ext, copying it to lib/ fixed the problem.

tennsk avatar Jan 06 '14 10:01 tennsk

Just thought to check if the connection to Cassandra DB worked once you were able to fix this issue. If yes, it would be great if some one can post the approach used to connect to Cassandra DB.

On following the steps mentioned in the set-up instruction, I am still getting the error message mentioned in defect/issue [JMeter failed to connect to Cassandra #15].

manit-sidhu avatar Jan 29 '16 19:01 manit-sidhu