java.lang.NoClassDefFoundError: io/netty/handler/timeout/IdleStateHandler


Solutions on the web1

Solution icon of stackoverflow
io/netty/handler/timeout/IdleStateHandler

Stack trace

java.lang.NoClassDefFoundError: ioetty/handler/timeout/IdleStateHandler
	at com.datastax.driver.core.Connection$Initializer.<init>(Connection.java:1409)
	at com.datastax.driver.core.Connection.initAsync(Connection.java:144)
	at com.datastax.driver.core.Connection$Factory.open(Connection.java:796)
	at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:253)
	at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:201)
	at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79)
	at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1473)
	at com.datastax.driver.core.Cluster.init(Cluster.java:159)
	at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:330)
	at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:305)
	at com.datastax.driver.core.Cluster.connect(Cluster.java:247)
	at com.datastax.driver.core.DelegatingCluster.connect(DelegatingCluster.java:71)
	at com.datastax.driver.dse.DseCluster.connect(DseCluster.java:351)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.