1. Oracle JDBC Driver Repository를 사용하기 위한 Repository 추가(<dependencies> 태그 위에 추가)
<repositories>
<repository>
<id>oracle</id>
<name>ORACLE JDBC Repository</name>
<url>http://maven.jahia.org/maven2</url>
</repository>
</repositories>
2. Spring-JDBC, DBCP, Oracle JDBC Driver의 Dependency 추가
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring-framework.version}</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.1.0.7.0</version>
</dependency>
3. oracle jdbc driver dependency 에서 에러나면 첨부파일을 C:\Users\Administrator\.m2\repository\com\oracle\ojdbc6\11.1.0.7.0에 저장
|