Answers

Question and Answer:

  Home  Database Errors

⟩ This is the exception raised when i am working with oracle 11g java.lang.ClassNotFoundException oracle.jdbc.Driver.OracleDriver.. but i set the class path for both oracle and java?

ClassNotFoundException is the checked exception so we must handle that one or we can declare as throws keyword.

ex:

class EmployeeDao{

public static void main(String args[0]throws SQLException, ClassNotFoundException{

------------

-------------

}

}

 168 views

More Questions for you: