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 Tran Huynh, 1 year ago
org.apache.cassandra.transport.messages.AuthenticateMessage cannot be cast to org.apache.cassandra.transport.messages.ErrorMessage
via DataStax JIRA by Tran Huynh, 1 year ago
org.apache.cassandra.transport.messages.AuthenticateMessage cannot be cast to org.apache.cassandra.transport.messages.ErrorMessage
java.lang.ClassCastException: org.apache.cassandra.transport.messages.AuthenticateMessage cannot be cast to org.apache.cassandra.transport.messages.ErrorMessage at com.datastax.driver.core.Connection.initializeTransport(Connection.java:157) at com.datastax.driver.core.Connection.<init>(Connection.java:118) at com.datastax.driver.core.Connection.<init>(Connection.java:90) at com.datastax.driver.core.Connection$Factory.open(Connection.java:376) at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:203) at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:166) at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:83) at com.datastax.driver.core.Cluster$Manager.<init>(Cluster.java:548) at com.datastax.driver.core.Cluster$Manager.<init>(Cluster.java:533) at com.datastax.driver.core.Cluster.<init>(Cluster.java:65) at com.datastax.driver.core.Cluster.buildFrom(Cluster.java:93) at com.datastax.driver.core.Cluster$Builder.build(Cluster.java:484)