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

  1. 0

    Two Jars built on two different machine has different different internal structure

    Stack Overflow | 3 months ago | Ashish Pancholi
    java.lang.NoClassDefFoundError: Could not initialize class io.netty.channel.ChannelOption
  2. 0

    Could not initialize class org.apache.drill.exec.server.Drillbit

    Stack Overflow | 8 months ago | jgoh
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.drill.exec.server.Drillbit
  3. 0

    NoClassDefFoundError while creating mock object in java

    Stack Overflow | 7 months ago | Manas Kantha
    java.lang.NoClassDefFoundError: Could not initialize class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    External Properties file and classpath

    Oracle Community | 6 years ago | 393585
    java.lang.NoClassDefFoundError: Could not initialize class
  6. 0

    maven repo and 5.0-X version

    Google Groups | 2 years ago | Zsolt Kúti
    java.lang.NoClassDefFoundError: Could not initialize class

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class io.netty.channel.ChannelOption

      at org.apache.drill.exec.rpc.BasicClient.<init>()
    2. org.apache.drill
      DrillFactory.newConnection
      1. org.apache.drill.exec.rpc.BasicClient.<init>(BasicClient.java:75)
      2. org.apache.drill.exec.rpc.BasicClientWithConnection.<init>(BasicClientWithConnection.java:39)
      3. org.apache.drill.exec.rpc.user.UserClient.<init>(UserClient.java:58)
      4. org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:232)
      5. org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:142)
      6. org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:64)
      7. org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:69)
      7 frames
    3. Calcite Avatica
      UnregisteredDriver.connect
      1. net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:126)
      1 frame
    4. org.apache.drill
      Driver.connect
      1. org.apache.drill.jdbc.Driver.connect(Driver.java:72)
      1 frame
    5. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:664)
      2. java.sql.DriverManager.getConnection(DriverManager.java:270)
      2 frames