title: Encountering Instantiation error while configuring HikariCP
body: <p>Hi all i'm new to connection pooling.Before HikariCP i used DBCP for connection pooling. But since HikariCP is new and faster i thought of implementing the same in my project, but encountering below error while config HikarCP in spring.Pls help me overcome this.Thank You.</p>
  
  <p>Error</p>
  
  <p>Instantiation of bean failed:nested exception is java.lang.ExceptionInitializerError</p>
  
  <p>pom.xml</p>
  
  <pre><code>&lt;dependency&gt;
  &lt;groupId&gt;com.zaxxer&lt;/groupId&gt;
  &lt;artifactId&gt;HikariCP&lt;/artifactId&gt;
  &lt;version&gt;1.3.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
  &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
  &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
  &lt;version&gt;1.7.5&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
  &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
  &lt;artifactId&gt;slf4j-simple&lt;/artifactId&gt;
  &lt;version&gt;1.7.5&lt;/version&gt;
  &lt;optional&gt;true&lt;/optional&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
  &lt;groupId&gt;org.javassist&lt;/groupId&gt;
  &lt;artifactId&gt;javassist&lt;/artifactId&gt;
  &lt;version&gt;3.18.1-GA&lt;/version&gt;
  &lt;scope&gt;compile&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>context.xml</p>
  
  <pre><code>&lt;bean id="hikariConfig" class="com.zaxxer.hikari.HikariConfig"&gt;
  &lt;property name="driverClassName"  
  value="oracle.jdbc.pool.OracleDataSource" /&gt;
  &lt;property name="URL" value="&lt;url goes here&gt;" /&gt;
  &lt;property name="user" value="abc"/&gt;
  &lt;property name="password" value="xyz"/&gt;
  &lt;property name="implicitCachingEnabled" value="true"/&gt;
  &lt;/bean&gt;
  &lt;bean id="dataSource" class="com.zaxxer.hikari.HikariDataSource" destroy-
  method="close"&gt;                          
  &lt;constructor-arg ref="hikariConfig" /&gt;  
  &lt;/bean&gt; 
  </code></pre>