微服务-springboot-activiti工作流

idea中安装aciviti并使用,链接地址:https://blog.csdn.net/qq_41728540/article/details/79506463

 

一。创建springboot项目,勾选mysql,mybatis,web。

二。添加activiti的依赖

        <dependency>
            <groupId>org.activiti</groupId>
            <artifactId>activiti-spring-boot-starter-basic</artifactId>
            <version>6.0.0</version>
        </dependency>    

三。配置application.properties

spring:
  datasource:
    url: jdbc:mysql://localhost:3306/activiti?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8
    username: root
    password: 123456

mybatis:
  mapper-locations: classpath:mybatis/*.xml
  type-aliases-package: com.microservice.*.po

四。

posted @ 2019-02-18 15:22  qjm201000  阅读(1946)  评论(0编辑  收藏  举报