user1689784
user1689784

Reputation: 41

cassandra version compatibility with 3.7?

Is the spring-data-cassandra version 1.4.2 compatible with cassandra version 3.7? I get the following error when I try to connect:

Error creating bean with name 'cassandraSession': Invocation of init method failed;
nested exception is java.lang.NoClassDefFoundError: 
io/netty/util/concurrent/EventExecutor

Upvotes: 0

Views: 541

Answers (1)

John Blum
John Blum

Reputation: 7981

No, Spring Data Cassandra 1.4.x is based on the 2.x DataStax's Cassandra driver.

However, in Spring Data Cassandra 1.5 (Ingalls) release series (currently at 1.5 M1), we have upgraded the DataStax Cassandra driver to 3.0.3. We have also removed support for the DataStax DSE (DataStax Enterprise) driver since it is unnecessary for SD Cassandra functionality.

There were significant changes in the 3.0 version of DataStax's Java driver API requiring us to introduce 3.0 support in 1.5. We would not be able to back port these changes without adversely affecting 1.4 users.

You can find out more by reading our SD Ingalls M1 release announcement.

Also, you can follow the development of SD Cassandra 1.5 on the Wiki.

Feedback is always welcomed, either with PRs or through JIRA.

Upvotes: 3

Related Questions