在Jhipster中,我通过命令删除了文件并在运行“gradlew liquibaseDiffChangelog”命令后但是出现了这个错误

时间:2017-12-27 12:19:23

标签: gradle jhipster liquibase

FAILURE: Build failed with an exception.

* Where:
Script 'G:\Project\beequote\gradle\liquibase.gradle' line: 19

* What went wrong:
Execution failed for task ':pathingLiquibaseJar'.
> Could not resolve all files for configuration ':liquibase'.
   > Could not find org.liquibase.ext:liquibase-hibernate5:.
     Required by:
         project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more l
og output.

* Get more help at https://help.gradle.org

BUILD FAILED in 24s

1 个答案:

答案 0 :(得分:0)

这是JHipster中的一个错误,将在下一个版本中修复> 4.13.1,在此期间,您可以通过在gradle/liquibase.gradle文件中添加3.6版来修复它:

dependencies {
    liquibase "org.liquibase.ext:liquibase-hibernate5:3.6"
}