title: Cannot load netezza JDBC driver
body: <p>I have configured a netezza db in spring . I have added the dependent nzjdbc.jar in the classpath </p>
  
  <p>Spring config:</p>
  
  <pre><code>&lt;bean id="QA_CAM_BASE_jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate"&gt;
  </code></pre>
  
  <p>
  </p>
  
  <pre><code>    &lt;!-- Initialization for data source --&gt;
  
  &lt;bean id="QA_CAM_BASE_dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"&gt;
      &lt;property name="driverClassName" value="${com.ec.database.driver}"/&gt;
      &lt;property name="url" value="${com.ec.database.url}"/&gt;
      &lt;property name="username" value="${com.ec.database.user}"/&gt;
      &lt;property name="password" value="${com.ec.database.pass}"/&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>pom xml config 
  
  &lt;dependency&gt;
      &lt;groupId&gt;org.netezza&lt;/groupId&gt;
      &lt;artifactId&gt;netezza&lt;/artifactId&gt;
      &lt;version&gt;1.0&lt;/version&gt;
      &lt;scope&gt;system&lt;/scope&gt;
      &lt;systemPath&gt;${basedir}/src/main/resources/lib/nzjdbc.jar&lt;/systemPath&gt;
  &lt;/dependency&gt;
  
  &lt;resource&gt; 
      &lt;directory&gt;${basedir}/src/main/resources/lib&lt;/directory&gt; 
      &lt;targetPath&gt;WEB-INF/lib&lt;/targetPath&gt; 
  &lt;/resource&gt; 
  &lt;/webResources&gt;
  </code></pre>