title: Error: Could not initialize class ru.yandex.clickhouse.ClickHouseUtil
body: <p>I'm using <code>clickhouse-jdbc</code> in my java application. And I'm adding it to <code>pom.xml</code> like this:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;ru.yandex.clickhouse&lt;/groupId&gt;
      &lt;artifactId&gt;clickhouse-jdbc&lt;/artifactId&gt;
      &lt;version&gt;0.1.34&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>And when I run my java application <code>java -jar myapp.jar</code>. It's throwing: </p>
  
  <blockquote>
    <p>java.lang.NoClassDefFoundError: Could not initialize class
    ru.yandex.clickhouse.ClickHouseUtil</p>
  </blockquote>
  
  <p>And in my packaged jar file, there is also <code>ClickHouseUtil.class</code>. And I'm using <code>Intellij Idea</code> for packaging jar. How can I fix this issue?</p>