Database Errors Question:

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

Tweet Share WhatsApp

Answer:

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{
------------
-------------
}

}

Download Database Errors PDF Read All 20 Database Errors Questions
Previous QuestionNext Question
TNS-00204: Started tracing in intlsnrWhen e open the data base the data base gives error as initializing or terminating how we log into data base?