Spring Boot 1.5.x with Spring Data Cassandra 1.5.x is incompatible with Cassandra 2.1

Viewed 682

I'm trying to upgrade to Spring Boot 1.5 with Spring Data Cassandra 1.5.x using Cassandra 2.1 but I get a startup error:

Failed to instantiate [org.springframework.data.cassandra.mapping.CassandraMappingContext]: Factory method 'cassandraMapping' threw exception; nested exception is java.lang.NoClassDefFoundError: com/datastax/driver/core/DataType$CollectionType

Cassandra details:

[cqlsh 5.0.1 | Cassandra 2.1.15.1403 | DSE 4.8.9 | CQL spec 3.2.1 | Native protocol v3]

How can I upgrade to Spring Boot 1.5?

Edit: Is there a way to use Spring Boot Dependencies 1.5 as a parent in my pom.xml but keep Spring Data Cassandra 1.4

2 Answers
Related