首先引入GAV
<dependency>
<groupId>org.zenframework.z8.dependencies.commons</groupId>
<artifactId>ojdbc6</artifactId>
<version>2.0</version>
</dependency>
然后修改application
中url
和驱动
datasource:
driver-class-name: oracle.jdbc.OracleDriver
url: jdbc:oracle:thin:@localhost:1521/数据库名