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-01684: max # extents (string) reached in table string.string partition string

1 Answers  


LPX-00114: element "~1S" attribute "~2S" has invalid enumeration value "~3S"

1 Answers  


ORA-29701: unable to connect to Cluster Manager

1 Answers  


ORA-27369: job of type EXECUTABLE failed with exit code: string

1 Answers  


ORA-29928: duplicate default selectivity specified

1 Answers  






TNS-04013: CMCTL timed out waiting for Oracle Connection Manager to start

1 Answers  


ORA-25207: enqueue failed, queue string.string is disabled from enqueueing

1 Answers  


ORA-12582: TNS:invalid operation

1 Answers  


ORA-26064: Invalid SCN specified - Wrap: string Base: string.

1 Answers  


PLS-00224: object 'string' must be of type function or array to be used this way

1 Answers  


NZE-29048: Unexpected message received.

1 Answers  


ORA-16765: Physical apply service unexpectedly online

1 Answers  


Categories