title: even with ojdbc14.jar in Build Path, Class.forName("oracle.jdbc.driver.OracleDriver") gets ClassNotFoundException
body: <p>I'm trying to make an servlets application with java and oracle10g and I've had it well so far until I need some specific values from some the database, for wich I have a DAO class that handles the connection for retrieving data. I have the following issue.</p>
  
  <p>First off, I excecute a <code>main()</code> method in this class that is suposed to retrieve all entries in some table an print the name of each one in console. I works perfectly.</p>
  
  <p>then I want to return an ArrayList of all those names in order to use them in the servlet. So I make a method just like the one in the <code>main()</code> with the only difference that instead of printing the names, I add each one to an ArrayList which is returned after closing the conection. Well, It gets <code>ClassNotFoundException</code> in the line <code>Class.forName("oracle.jdbc.driver.OracleDriver")</code></p>
  
  <p>If it helps, I'm guided with <a href="http://www.javatpoint.com/example-to-connect-to-the-oracle-database" rel="nofollow">this</a> tutorial to connect java applications to oracle databases.</p>
  
  <p>Any help would be appreciated</p>