java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver - Jdeveloper
If anyone experiencing below issue with Jdeveloper. First go and check whether Oracle JDBC jar is added to your class path or not.
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at webserviceproducer.WebServiceProducer.getConnection(WebServiceProducer.java:34)
at webserviceproducer.WebServiceProducer.main(WebServiceProducer.java:29)
I have added 'Oracle JDBC' jar to the project class path and issue got resolved.
Thanks for visiting this blog.
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at webserviceproducer.WebServiceProducer.getConnection(WebServiceProducer.java:34)
at webserviceproducer.WebServiceProducer.main(WebServiceProducer.java:29)
I have added 'Oracle JDBC' jar to the project class path and issue got resolved.
Thanks for visiting this blog.
Comments
Post a Comment