Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via DataStax JIRA by Will Salisbury, 2 years ago
Invalid value for CQL type text, expecting class ja va.lang.String but class com.example.scripts.TestEnumMapping$TestEnum provided
via DataStax JIRA by Will Salisbury, 1 year ago
Invalid value for CQL type text, expecting class ja va.lang.String but class com.example.scripts.TestEnumMapping$TestEnum provided
via DataStax JIRA by Olivier Michallat, 1 year ago
Invalid value for CQL type frozen<example_keyspace.my_data_type>, expecting class com.datastax.driver.core.UDTValue but class me.example.Main$MyDataType provided
via Stack Overflow by njenan
, 2 years ago
Invalid value for CQL type frozen<example_keyspace.my_data_type>, expecting class com.datastax.driver.core.UDTValue but class me.example.Main$MyDataType provided
via DataStax JIRA by Olivier Michallat, 1 year ago
Invalid value for CQL type frozen<example_keyspace.my_data_type>, expecting class com.datastax.driver.core.UDTValue but class me.example.Main$MyDataType provided
com.datastax.driver.core.exceptions.InvalidTypeException: Invalid value for CQL type text, expecting class java.lang.String but class com.example.scripts.TestEnumMapping$TestEnum provided at com.datastax.driver.core.DataType.serialize(DataType.java:619) at com.datastax.driver.mapping.Mapper.getQuery(Mapper.java:331) at com.datastax.driver.mapping.Mapper.getQuery(Mapper.java:316) at com.datastax.driver.mapping.Mapper.get(Mapper.java:361) at com.example.scripts.TestEnumMapping.main(TestEnumMapping.java:48)