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..



this is the exception raised when i am working with oracle 11g java.lang.ClassNotFoundException: or..

Answer / surendar b

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

}

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Oracle Errors Interview Questions

ORA-25018: conflicting trigger string already exists

1 Answers  


LSX-00250: invalid normalizedString "~S"

1 Answers  


PLS-00710: PRAGMA AUTONOMOUS_TRANSACTION cannot be declared here

1 Answers  


ORA-02186: tablespace resource privilege may not appear with other privileges

1 Answers  


ORA-29254: Invalid lower_bound argument passed to procedure dbms_sql.define_array

1 Answers  






ORA-36980: (XSRELGID02) Variable workspace object must have a numeric data type.

1 Answers  


ORA-02288: invalid OPEN mode

1 Answers  


PCC-02210: C++ punctuation sequences are not permitted

1 Answers  


LPX-00403: unmatched quote in the XSL file

1 Answers  


ORA-28537: no more result sets

1 Answers  


ORA-36735: A value exceeded the MAX specification

1 Answers  


ORA-12538: TNS:no such protocol adapter

1 Answers  


Categories