按照官网上做法,简单引入即可
1,依赖引入版本7.2.0
<dependency>
<groupId>org.flowable</groupId>
<artifactId>flowable-spring-boot-starter</artifactId>
<version>${flowable.version}</version>
</dependency>
2,在application-dev.properties增加配置,不同类型数据库和驱动版本差异的原因需要指定catalog或schema。
原因猜测可能是没有将数据库连接的库作为默认catalog或schema
#重要在7.1.0上好像没有这个选项,结合flowable.database-schema-update可以在启动时在mysql数据库初始相关表
flowable.database-catalog=flow
flowable.database-schema=flow
flowable.database-schema-update=true
flowable.history-level=full
flowable.async-executor-activate=false
flowable.check-process-definitions=false
flowable.db-history-used=true