简体   繁体   English

Liquibase clearChecksums 找不到 com.oracle.jdbc:ojdbc8:xx.xxx

[英]Liquibase clearChecksums Could not find com.oracle.jdbc:ojdbc8:xx.x.x.x

I would like to clear the checkSums for Liquibase.我想清除 Liquibase 的校验和。 If I run the gradle command gradle clearChecksums I get an error.如果我运行 gradle 命令gradle clearChecksums会出现错误。

Execution failed for task ':project-name:clearChecksums'.
> Could not resolve all files for configuration ':project-name:liquibaseRuntime'.
> Could not find com.oracle.jdbc:ojdbc8:12.2.0.1.
        Required by:
        project :project-name
Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Gradle Gradle

runtimeOnly 'com.oracle.ojdbc:ojdbc8:19.3.0.0'

liquibaseRuntime "com.oracle.jdbc:ojdbc8:12.2.0.1"
liquibaseRuntime 'org.liquibase:liquibase-core:3.8.1'

liquibaseRuntime 'org.liquibase.ext:liquibase-hibernate5:3.8'
liquibaseRuntime sourceSets.main.runtimeClasspath
liquibaseRuntime sourceSets.main.output

I've tried adding "com.oracle.jdbc:ojdbc8:12.2.0.1" as a dependency but it still can't find it.我尝试添加"com.oracle.jdbc:ojdbc8:12.2.0.1"作为依赖项,但它仍然找不到它。

implementation "com.oracle.jdbc:ojdbc8:12.2.0.1"

I'm assuming this is something obvious but I can't find anything online about it.我假设这是显而易见的,但我在网上找不到任何关于它的信息。

How can I resolve this?我该如何解决这个问题?

what is the purpose of cleaning the chesum, if you want to force the re-execution of a changeset, you can delete the old record directly in the databasechangelog table.清理chesum的目的是什么,如果要强制重新执行一个changeset,可以直接在databasechangelog表中删除旧记录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 缺少工件com.oracle.jdbc:ojdbc6:jar:11.2.0.3构建成功仍然错误 - Missing artifact com.oracle.jdbc:ojdbc6:jar:11.2.0.3 build successful still error tomcat 8.5.x tomcat-jdbc.jar vs 官方oracle ojdbc6.jar 驱动 - tomcat 8.5.x tomcat-jdbc.jar vs official oracle ojdbc6.jar driver Oracle ojdbc8 12.2.0.1 被 Maven 禁止 - Oracle ojdbc8 12.2.0.1 Forbidden by Maven Oracle ojdbc8 12.2.0.1错误的Pom编码 - Oracle ojdbc8 12.2.0.1 bad pom encoding Jenkins:由于第三方jar导致构建失败:找不到工件com.oracle:ojdbc7:jar:12.1.0.1.0 - Jenkins: build failing because of third party jar : Could not find artifact com.oracle:ojdbc7:jar:12.1.0.1.0 使用Oracle 12c和ojdbc7 / ojdbc8驱动程序的无效字符 - Invalid characters using Oracle 12c and ojdbc7 / ojdbc8 driver 找不到com.google.cloud.bigtable.hbase1_x.BigtableConnection的适当构造函数 - Could not find an appropriate constructor for com.google.cloud.bigtable.hbase1_x.BigtableConnection 从JENKINS触发构建时出现错误,如“在中央找不到工件com.oracle:ojdbc6:jar:6.0.0” - Getting error as “Could not find artifact com.oracle:ojdbc6:jar:6.0.0 in central” while triggering build from JENKINS Vert.x JDBC 客户端:无法加载所需的实现 - Vert.x JDBC client: Could not load the required implementation 找不到com.oracle:ojdbc14:jar:10.4.4 - Failure to find com.oracle:ojdbc14:jar:10.4.4
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM