gpt4 book ai didi

oracle - Gradle:无法从Maven存储库中找到oracle jdbc jar

转载 作者:行者123 更新时间:2023-12-03 03:54:02 25 4
gpt4 key购买 nike

Gradle构建:无法从Maven存储库中找到Oracle Jdbc jar

> Could not find com.oracle.jdbc:ojdbc8:12.2.0.1.
Searched in the following locations:
- https://jcenter.bintray.com/com/oracle/jdbc/ojdbc8/12.2.0.1/ojdbc8-12.2.0.1.pom
- https://repo.maven.apache.org/maven2/com/oracle/jdbc/ojdbc8/12.2.0.1/ojdbc8-12.2.0.1.pom
它实际上在Maven仓库中
https://mvnrepository.com/artifact/com.oracle.jdbc/ojdbc8/12.2.0.1

最佳答案

https://www.oracle.com/database/technologies/maven-central-guide.html
它应该是

implementation 'com.oracle.database.jdbc:ojdbc8:12.2.0.1'

关于oracle - Gradle:无法从Maven存储库中找到oracle jdbc jar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63221931/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com