title: Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
body: <p>I created a web application with ojdbc14.jar in lib folder.</p>
  
  <p>However, when I start my tomcat I get an error:</p>
  
  <pre><code>Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
  </code></pre>
  
  <p>While it exists there!</p>
  
  <p>When I deploy the same application to my local tomcat in Eclipse it works fine.</p>
  
  <p>However when I deploy it out of Eclipse I get this message, although the jar exists!</p>
  
  <p><strong>EDITED</strong></p>
  
  <p>I refer to it also from the context.xml under META-INF folder:</p>
  
  <pre><code>&lt;WatchedResource&gt;WEB-INF/web.xml&lt;/WatchedResource&gt;
       &lt;Transaction factory="bitronix.tm.BitronixUserTransactionObjectFactory" /&gt;
       &lt;Resource name="jdbc/testDS1" auth="Container" type="javax.sql.DataSource"
                 maxActive="15" maxIdle="2" maxWait="10000"
                 logAbandoned="true"
                 username="cust" password="cust"
                 driverClassName="oracle.jdbc.OracleDriver"
                 url="jdbc:oracle:thin:@myserver:id:name"/&gt;
  </code></pre>