Due to Oracle authorization issues, Maven3 does not provide OracleJDBCdriver. To apply OracleJDBCdriver to Maven projects, you must manually add it to the local repository.
Due to Oracle authorization problems, Maven3 does not provide Oracle JDBC driver. To Apply Oracle JDBC driver to Maven projects, you must manually add the driver to the local repository.
Due to Oracle authorization problems, Maven3 does not provide Oracle JDBC driver. To Apply Oracle JDBC driver to Maven projects, you must manually add the driver to the local repository.
1. Obtain the Oracle JDBC Driver
1. Download the corresponding version from the official Oracle Website:
2. The installation directory of Oracle is obtained at "{ORACLE_HOME} \ jdbc \ lib \ ojdbc14.jar"
2. Manual installation and Installation
Or run the following command:
Mvn install: install-file-Dfile = {Path/to/your/ojdbc. jar}-DgroupId = com. oracle-DartifactId = ojdbc6-Dversion = 11.2.0-Dpackaging = jar
3. After installation, add references to the pom. xml file.
Com. oracleojdbc1410.2.0.4.0
Okay, you can reference it normally.
Maven details: click here
Maven: click here
Related reading:
Maven 3.1.0 release, Project Build Tool
Install Maven in Linux
Maven3.0 configuration and simple use
Set up sun-jdk and Maven2 in Ubuntu
Get started with Maven
,