3 Replies Latest reply: Sep 26, 2009 6:00 AM by 807580 RSS

    ClassNotFoundException trying to connect to Oracle database.

    801444
      I'm getting this error:
      java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

      on this line of code:
      Class.forName("oracle.jdbc.driver.OracleDriver");

      I've used this before in a different program on this machine (that still works) with no problem. I'm just trying to write some code that queries my Oracle SQL database. Any idea what's wrong?
      Thank you.