Driver Class unable to load

10-11  Source: Network gathering  Views:0 

Advertisement
Hi,
when i starts my Tomcat server (4.06), It gives below error. I have copied the classes111.zip in tomcat\conf\lib directory and also renamed the zip to jar. but still the below error is comming...Pls help.
Error
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Hi,
when i starts my Tomcat server (4.06), It gives
gives below error. I have copied the classes111.zip
in tomcat\conf\lib directory and Wrong. That's not where it belongs. Put 3rd party JARs in the WEB-INF/lib directory for your Web app.
also renamed the zip to jar. Correct - Tomcat will not look inside ZIP files.
>
Error
java.lang.ClassNotFoundException:
ception: oracle.jdbc.driver.OracleDriverThis ALWAYS means that the class loader can't find your driver class - it's a CLASSPATH problem.
You need to learn what Tomcat says the CLASSPATH is. Don't try to fix this by changing any environment variables or scripts.
%
Related articles