解决 spring boot 2.7.18 导入 flowable 6.8.1 报 Liquibase failed to start because no changelog could be found at 'classpath:/db/changelog/db.changelog-master.yaml'. 的办法

解决 spring boot 2.7.18 导入 flowable 6.8.1 报 Liquibase failed to start because no changelog could be found at 'classpath:/db/changelog/db.changelog-master.yaml'. 的办法

 

不论是导入

<dependency>
  <groupId>org.flowable</groupId>
  <artifactId>flowable-engine</artifactId>
  <version>6.8.1</version>
</dependency>

 

还是导入

<dependency>
  <groupId>org.flowable</groupId>
  <artifactId>flowable-spring</artifactId>
  <version>6.8.1</version>
</dependency>

 

都报如下错误:

————————————————————
ERROR 3508 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :

***************************
APPLICATION FAILED TO START
***************************

Description:

Liquibase failed to start because no changelog could be found at 'classpath:/db/changelog/db.changelog-master.yaml'.

Action:

Make sure a Liquibase changelog is present at the configured path.

————————————————————
正确的做法是通过以下方式导入 flowable 的依赖:

 

<dependency>
  <groupId>org.flowable</groupId>
  <artifactId>flowable-spring-boot-starter</artifactId>
  <version>6.8.1</version>
</dependency>

 

 

 

 

posted @ 2025-01-16 10:06  hapday  阅读(737)  评论(0)    收藏  举报