厌烦了tomcat启动flowableUi?github下载war嫌麻烦?一步搞定springboot式flowableUI启动

maven依赖

# flowable-process依赖 运行flowable实例
  <dependency>
            <groupId>org.flowable</groupId>
            <artifactId>flowable-spring-boot-starter</artifactId>
            <version>6.7.0</version>
        </dependency>
#flowable ui依赖相关 以下几个包按需取用
        <dependency>
            <groupId>org.flowable</groupId>
            <artifactId>flowable-spring-boot-starter-ui-modeler</artifactId>
            <version>6.7.0</version>
        </dependency>

        <dependency>
            <groupId>org.flowable</groupId>
            <artifactId>flowable-spring-boot-starter-ui-admin</artifactId>
            <version>6.7.0</version>
        </dependency>

        <dependency>
            <groupId>org.flowable</groupId>
            <artifactId>flowable-spring-boot-starter-ui-idm</artifactId>
            <version>6.7.0</version>
        </dependency>

        <dependency>
            <groupId>org.flowable</groupId>
            <artifactId>flowable-spring-boot-starter-ui-task</artifactId>
            <version>6.7.0</version>
        </dependency>

#使用方法

  • 搭建一个springboot项目在application.yml中配置数据库地址
spring:
  datasource:
    username: root
    password: 1234
    url: jdbc:mysql://localhost:3306/fooflowableui?characterEncoding=UTF-8&serverTimezone=UTC&nullCatalogMeansCurrent=true&useSSL=false
    driver-class-name: com.mysql.cj.jdbc.Driver
flowable:
  async-executor-activate: false
  database-schema-update: true

注意如果数据库用的root角色的话 flow会在数据库中遍历所有的数据库表 只要有个数据库存在过flowable的数据表信息,启动项目将会报错,表xx找不到
所以需要再url中指定&nullCatalogMeansCurrent=true 在当前数据库表中执行。

项目启动成功后 访问http://127.0.0.1:8080/。8080是你项目指定的端口号,可更改。输入初始账号密码admin/test登录
如下图:
很方便

账号密码可以在身份管理中进行变更操作。
最后附上flowable 6.x版本的中文文档地址

  • 9
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值