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

DRG-10759: invalid role

1 Answers  


ORA-36692: (XSRELTBL00) The format of the HIERHEIGHT command is: HIERHEIGHT relation1[(dimension dimvalue, ...)] into relation2 [using relation3 | a | d] [inhierarchy {variable | valueset}].

1 Answers  


TNS-01023: Version string

1 Answers  


O2F-00335: Internal error in O2F component of OTT

1 Answers  


DRG-12005: Please give name of file to save in:

1 Answers  


ORA-13859: Action cannot be specified without the module specification

1 Answers  


ORA-01278: error creating file 'string'

1 Answers  


NNF-03002: Unknown BIND error code: string

1 Answers  


ORA-19714: length for generated name longer than string

1 Answers  


ORA-19808: recovery destination parameter mismatch

1 Answers  


ORA-30337: multiple JOIN KEY clauses specified for the same parent level

1 Answers  


DGM-16949: "string" was not found

1 Answers  


Categories