title: ClassNotFoundException oracle.jdbc.driver.OracleDriver only in servlet, using Eclipse and oracle
body: <p>The code below fails on the line: <code>Class.forName("oracle.jdbc.driver.OracleDriver");</code> 
  with the error: </p>
  
  <pre><code>java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
  </code></pre>
  
  <p>The two printlns print: <code>Wed_Jun_22_11:18:51_PDT_2005 false</code> This makes me think the class exists and can be found. Also this exact same class works in an a non-servlet application.</p>
  
  <p>I have rebooted everything multiple times and regenerated the application/servlet multiple times. All values have been hard coded to make it simple and short.</p>
  
  <p>I'm using: Eclipse JavaEE 1.4.2 Tomcat 7 jdk1.7 Oracle 11g R2 Windows 7 64bit</p>
  
  <p>I have already added the jar files in web-inf. but it is still giving the following error: <code>java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver</code>.</p>
  
  <p>Any suggestions would be great.</p>