java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
843840Aug 2 2007 — edited Aug 6 2007Hi
I have Oracle 10 G in a database server and trying to connect to the server through Java in the developers machine which also has oracle.
i have the driver (ojdbc14.jar) in java/lib and have also set the classpath. i am using eclipse . while trying to run the programme i get the following error
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at Finisher.MarkerFinishing.con(MarkerFinishing.java:16)
at Finisher.MarkerFinishing.main(MarkerFinishing.java:42)
Pall ----ClassNotFoundException: oracle.jdbc.driver.OracleDriver
markerFinishing---- Step AThu Aug 02 14:15:49 IST 2007
java.lang.NullPointerException
at Finisher.MarkerFinishing.A(MarkerFinishing.java:30)
at Finisher.MarkerFinishing.main(MarkerFinishing.java:46)
can anyone help me resolve it...
thanks