springBoot + gradle configuration database connection oracle

Address reprint: https://blog.csdn.net/lin5198195/article/details/84824620

Warehouse does not provide the oracle of dependencies, you need to manually loaded locally

1.odbc6.jar Download (oracle official website can be downloaded)

https://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html

2. Create a new project lib folder, to download odbc6.jar placed in lib

3.gradle configuration file is:

compile files("lib/ojdbc6.jar")

Guess you like

Origin blog.csdn.net/weixin_39102174/article/details/91376138