title: ClassNotFoundException oracle.jdbc.driver.OracleDriver
body: <p>I know there are thousands of blogs about CNFEs out there, but I can't get it work.</p>
  
  <p>I use Maven to build my GWT project. In the pom.xml, there is this line:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;oracle&lt;/groupId&gt;
      &lt;artifactId&gt;ojdbc6&lt;/artifactId&gt;
      &lt;version&gt;11.2.0.3&lt;/version&gt;
      &lt;scope&gt;runtime&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>In the built .war file, there is the correct .jar in WEB-INF/lib. So the class is where I expect it to be. But I'm still getting a ClassNotFoundException.</p>
  
  <p>Where am I wrong? Is it because of the runtime scope?</p>