In the CassandraSimpleTypeHolder file:

import com.datastax.driver.core.DataType; ... DataType dataType; Class javaClass = dataType.asJavaClass(); 

public abstract class DataType does not contain the asJavaClass() method. Here is a link to the class file, although it is in the documentation.

Versions of the sprint data cassandra 1.4.3 and cassandra driver core 3.1.0 libraries

  • not "it is in the documentation", but "is in the version 1.0 documentation", i.e. at 3.x it’s not completely legal - etki
  • And how to create a CassandraTemplate class if the asJavaClass () method is not in the DataType class. (cassandra driver core-3.1.0 library)? - titsi

0