java.lang.NoClassDefFoundError: Could not initialize class

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
java.lang.NoClassDefFoundError: Could not initialize class
at org.apache.drill.exec.rpc.BasicClient.(
at org.apache.drill.exec.rpc.BasicClientWithConnection.(
at org.apache.drill.exec.rpc.user.UserClient.(
at org.apache.drill.exec.client.DrillClient.connect(
at org.apache.drill.jdbc.impl.DrillConnectionImpl.(
at org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(
at org.apache.drill.jdbc.impl.DrillFactory.newConnection(
at net.hydromatic.avatica.UnregisteredDriver.connect(
at org.apache.drill.jdbc.Driver.connect(
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(

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.