java.lang.NoClassDefFoundError: Could not initialize class io.netty.channel.ChannelOption

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 Stack Overflow by Ashish Pancholi
, 1 year ago
Could not initialize class io.netty.channel.ChannelOption
java.lang.NoClassDefFoundError: Could not initialize class io.netty.channel.ChannelOption
at org.apache.drill.exec.rpc.BasicClient.(BasicClient.java:75)
at org.apache.drill.exec.rpc.BasicClientWithConnection.(BasicClientWithConnection.java:39)
at org.apache.drill.exec.rpc.user.UserClient.(UserClient.java:58)
at org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:232)
at org.apache.drill.jdbc.impl.DrillConnectionImpl.(DrillConnectionImpl.java:142)
at org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:64)
at org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:69)
at net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:126)
at org.apache.drill.jdbc.Driver.connect(Driver.java:72)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:270)

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.

Know the solutions? Share your knowledge to help other developers to debug faster.