1. Enter the directory where ojdbc6.jar is located
E:\app\neusoft\product\11.2.0\client_2\jdbc\lib
2. Enter the following command
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar -Dfile=ojdbc6.jar
3. Add the following code to pox.xml
<dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId> <version>11.2.0</version> </dependency>