My project is in maven. I decided to bring ojdbc14.jar into my project rather than keeping it in tomcat/lib folder. So I installed ojdbc14.jar in my local repository by using `mvn install:install-file`. But as i understood now that it is best to move it to lib folder because of memory leeks by jdbc driver as already discussed here [tomcat - memeory-leak](https://stackoverflow.com/questions/15632153/tomcat7-jdbc-datasource-this-is-very-likely-to-create-a-memory-leak).
But problem is I am using some classes that are importing from this ojdbc14.jar. E.g. :

```
import oracle.jdbc.OracleCallableStatement;
import oracle.jdbc.driver.OracleConnection;
import oracle.sql.ARRAY;
import oracle.sql.ArrayDescriptor;
import oracle.jdbc.driver.OracleResultSet;
import oracle.sql.BLOB;
import oracle.sql.CLOB;
import oracle.sql.ARRAY;
import oracle.sql.ArrayDescriptor;

```

How can I remove my ojdbc14.jar from project and move it to lib folder and still be able to access this class in code without compile errors?