I started getting the exception after I upgraded to spring-data-commons-3.2.1 and spring-data-cassandra-4.2.1.

I added the custom conversions

@Bean
CassandraCustomConversions cassandraCustomConversions() {
    List<Converter<?, ?>> converters = new ArrayList<>();
    converters.add(new InstantToDateTimeConverter());
    converters.add(new DateTimeToInstantConverter());
    CassandraCustomConversions ccv = new CassandraCustomConversions(converters);
    return ccv;
}

but still get the error.

0

There are 0 best solutions below