[英]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.