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-15105: missing or invalid FAILGROUP name

1 Answers  


ORA-12044: invalid CREATE MATERIALIZED VIEW LOG option

1 Answers  


TNS-00501: Cannot allocate memory

1 Answers  


TNS-00508: No such protocol adapter

1 Answers  


ORA-07282: sksaprd: string overflow.

1 Answers  


ORA-38454: attribute set not defined for the column being indexed

1 Answers  


PLS-00379: CASE statements are not included in this release of PL/SQL

1 Answers  


ORA-09873: TASDEF_OPEN: open error when opening tasdef@.dbf file.

1 Answers  


RMAN-06455: point-in-time tablespace recovery requires Enterprise Edition

1 Answers  


ORA-31466: no publications found

1 Answers  


O2F-00341: An error occurred for which no message is available

1 Answers  


ORA-23344: constraint (string.string) does not exist

1 Answers  


Categories