Getting this issue when I try to run maven test. Not sure what's
causing the issue as these test ran before without issues. My
dependencies are being managed by maven
- Caused by: java.lang.NoClassDefFoundError: Could not initialize class liquibase.sqlgenerator.core.LockDatabaseChangeLogGenerator
- at sun.reflect.GeneratedConstructorAccessor379.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
- at liquibase.sqlgenerator.SqlGeneratorFactory.<init>(SqlGeneratorFactory.java:39)
- at liquibase.sqlgenerator.SqlGeneratorFactory.getInstance(SqlGeneratorFactory.java:53)
- at liquibase.executor.AbstractExecutor.applyVisitors(AbstractExecutor.java:22)
- at liquibase.executor.jvm.JdbcExecutor.access$500(JdbcExecutor.java:35)
- at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:284)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:54)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:106)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:96)
- at liquibase.lockservice.StandardLockService.init(StandardLockService.java:83)
- at liquibase.lockservice.StandardLockService.acquireLock(StandardLockService.java:182)
- at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:148)
- at liquibase.Liquibase.update(Liquibase.java:189)
- at liquibase.Liquibase.update(Liquibase.java:181)
- at liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:342)
- at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:299)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1571)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1509)