Hey,
I have placed the jdbc driver OracleDriver.class that I need in the common/lib directory of tomcat.But when I compile my java program it gives me the following error:
.\pgms\DbOperations.java:11: package oracle.jdbc.driver does not exist
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
It was not giving me this error a few days back. now the program compiles only if I put the oracle driver class in the web-inf/classes directory of my application.
can somebody help?
I have placed the jdbc driver OracleDriver.class that I need in the common/lib directory of tomcat.But when I compile my java program it gives me the following error:
.\pgms\DbOperations.java:11: package oracle.jdbc.driver does not exist
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
It was not giving me this error a few days back. now the program compiles only if I put the oracle driver class in the web-inf/classes directory of my application.
can somebody help?