org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [sk/trilobit/eskn/cskn/config/DatabaseConfiguration.class]: Invocation of init method failed; nested exception is liquibase.exception.ChangeLogParseException: liquibase.exception.SetupException: Could not find directory or directory was empty for includeAll 'sequence/'

Stack Overflow | Trilobitak | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Maven - Spring - Liquibase includeAll not work

    Stack Overflow | 8 months ago | Trilobitak
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [sk/trilobit/eskn/cskn/config/DatabaseConfiguration.class]: Invocation of init method failed; nested exception is liquibase.exception.ChangeLogParseException: liquibase.exception.SetupException: Could not find directory or directory was empty for includeAll 'sequence/'

    Root Cause Analysis

    1. liquibase.exception.SetupException

      Could not find directory or directory was empty for includeAll 'sequence/'

      at liquibase.changelog.DatabaseChangeLog.includeAll()
    2. Liquibase Core
      SpringLiquibase.afterPropertiesSet
      1. liquibase.changelog.DatabaseChangeLog.includeAll(DatabaseChangeLog.java:438)
      2. liquibase.changelog.DatabaseChangeLog.handleChildNode(DatabaseChangeLog.java:349)
      3. liquibase.changelog.DatabaseChangeLog.load(DatabaseChangeLog.java:282)
      4. liquibase.parser.core.xml.AbstractChangeLogParser.parse(AbstractChangeLogParser.java:25)
      5. liquibase.Liquibase.getDatabaseChangeLog(Liquibase.java:229)
      6. liquibase.Liquibase.update(Liquibase.java:202)
      7. liquibase.Liquibase.update(Liquibase.java:192)
      8. liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:434)
      9. liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:391)
      9 frames
    3. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
      6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
      8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
      9. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:295)
      10. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
      10 frames
    4. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1045)
      2. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:824)
      3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
      3 frames
    5. Spring Boot
      SpringApplication.run
      1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:117)
      2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:689)
      3. org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
      3 frames
    6. sk.trilobit.eskn
      Application.main
      1. sk.trilobit.eskn.cskn.Application.main(Application.java:90)
      1 frame