Liquibase锁定异常,数据库已删除

时间:2019-04-11 08:13:52

标签: xampp liquibase

启动应用程序后,出现以下错误:

i.g.j.c.liquibase.AsyncSpringLiquibase   : Liquibase could not start correctly, your database is NOT ready: Could not acquire change log lock.  Currently locked by X (X.X.X.X) since X/X/X

liquibase.exception.LockException: Could not acquire change log lock.  Currently locked by X (X.X.X.X) since X/X/X
    at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:190)
    at liquibase.Liquibase.update(Liquibase.java:196)
    at liquibase.Liquibase.update(Liquibase.java:192)
    at liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:431)
    at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:388)
    at io.github.jhipster.config.liquibase.AsyncSpringLiquibase.initDb(AsyncSpringLiquibase.java:82)
    at io.github.jhipster.config.liquibase.AsyncSpringLiquibase.lambda$afterPropertiesSet$0(AsyncSpringLiquibase.java:64)
    at io.github.jhipster.async.ExceptionHandlingAsyncTaskExecutor.lambda$createWrappedRunnable$1(ExceptionHandlingAsyncTaskExecutor.java:66)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

该数据库是使用XAMPP创建的,我删除了数据库并重新创建它,但仍然出现错误。 我该怎么解决?

编辑:查看此错误后,我尝试删除db并重新创建它,但未进行任何更改。 我还删除了该应用程序并将其解压缩(这是某人给我的应用程序),但仍然出现错误。

0 个答案:

没有答案