Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ To add the Oracle JDBC driver in Maven repository     - How to configure security management services under Linux (Linux)

- Sturdy build secure Linux server (Linux)

- File SUID, SGID, Sticky property (Linux)

- fcntl file locking function add (Programming)

- SSH Filesystem use a secure connection for network file system (Linux)

- Nginx start, stop, smooth start, smooth upgrade (Server)

- Linux Getting Started tutorial: How to backup Linux systems (Linux)

- OpenSUSE GPG Comments (Linux)

- To solve the Mac in question invalid BASH under configuration environment variable (Linux)

- How to configure MongoDB replica set (Database)

- Puppet Detailed centralized configuration management system (Server)

- Linux input and output redirection (Linux)

- Linux for enterprises to build a firewall (Linux)

- Java multi-threaded in a three way (inheritance, implementation, anonymous inner classes) (Programming)

- Slice MyCAT common fragmentation rules of enumeration (Database)

- Installation of Gitlab under Ubuntu (Linux)

- Linux system man help tips (Linux)

- C ++ based socket communication TCP and UDP (Programming)

- Java memory analysis tool uses detailed MAT (Programming)

- Function Getting the Linux shell (Programming)

 
         
  To add the Oracle JDBC driver in Maven repository
     
  Add Date : 2018-11-21      
         
         
         
  Because Oracle licensing issues, Maven3 does not provide Oracle JDBC driver, to use Oracle JDBC driver in Maven project, you must manually add the local repository.

I. First, to get the Oracle JDBC Driver

1. Download the appropriate version of Oracle through the official website: http: //www.oracle.com/technetwork/database/features/jdbc/index-091264.html

2. Oracle installation directory to obtain the position in "{ORACLE_HOME} \ jdbc \ lib \ ojdbc14.jar"

4.2 Manual installation

Refer to manually install another article: Maven3 to manually install a local warehouse jar

Or the command as follows:

mvn install: install-file -Dfile = {Path / to / your / ojdbc.jar} -DgroupId = com.oracle -DartifactId = ojdbc6 -Dversion = 11.2.0 -Dpackaging = jar

III. After installation, the pom.xml file, add a reference

   < Dependencies>
     < ! - Add oracle jdbc driver ->
     < Dependency>
         < GroupId> com.oracle < / groupId>
         < ArtifactId> ojdbc14 < / artifactId>
         < Version> 10.2.0.4.0 < / version>
     < / Dependency>
   < / Dependencies>

OK, you can normally quoted.
     
         
         
         
  More:      
 
- Oracle Migration partition table (Database)
- SendMail version of Java implementation with attachments (Programming)
- Linux supports serial output method (Linux)
- Two kinds of agents of Spring AOP (Programming)
- Use top to monitor the remote server (Server)
- Linux FTP setting file description (Server)
- FastDFS installation and deployment (Server)
- How to extend / remove swap partitions (Linux)
- Linux + Apache + PHP + Oracle based environment to build (Server)
- MySQL Tutorial: About checkpoint mechanism (Database)
- HTTP and HTTPS request response process difference (Linux)
- Linux 10 useful examples of command-line completion (Linux)
- DB2 manually create a library (Database)
- Linux some lessons learned about network security (Linux)
- Install the Solaris 10 operating system environment over the network to sparc (Linux)
- JavaScript function definition mode (Programming)
- JavaScript event handling Detailed (Programming)
- Binary tree traversal: the first sequence in order preorder recursive and non-recursive and traversal sequence (Programming)
- CentOS / Debian configuration Gitlab 7.1x to build self Git repository (Linux)
- How to use Quagga BGP (Border Gateway Protocol) router to filter BGP routing (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.