
flowable实战(一)flowable与spring boot集成
发布日期:2021-05-12 23:54:56
浏览次数:12
分类:精选文章
本文共 9568 字,大约阅读时间需要 31 分钟。
pom.xml������������
4.0.0 com.zjm gwork 0.0.1-SNAPSHOT jar gwork Spring Boot���������������Spring Boot 2.0.4.RELEASE org.springframework.boot spring-boot-starter-parent 2.0.4.RELEASE UTF-8 UTF-8 1.8 6.4.1 5.1.46 org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-logging org.springframework.boot spring-boot-starter-log4j2 org.mybatis.springframework.boot mybatis-spring-boot-starter 1.3.2 org.springframework.boot spring-boot-configuration-processor true org.flowable flowable-spring-boot-starter ${flowable.version} mysql mysql-connector-java ${mysql.version} org.springframework.boot spring-boot-starter-test test org.springframework.boot spring-boot-starter-security io.jsonwebtoken jjwt 0.9.1 com.fasterxml.jackson.core jackson-core com.fasterxml.jackson.core jackson-databind com.fasterxml.jackson.datatype jackson-datatype-joda com.fasterxml.jackson.module jackson-module-parameter-names com.github.pagehelper pagehelper-spring-boot-starter 1.2.5 com.alibaba druid-spring-boot-starter 1.1.9 javax.servlet javax.servlet-api provided net.bytebuddy byte-buddy net.bytebuddy byte-buddy-agent test org.mybatis.generator mybatis-generator-maven-plugin 1.3.7 org.apache.poi poi 3.17 org.apache.poi poi-examples 3.17 org.apache.poi poi-excelant 3.17 org.apache.poi poi-scratchpad 3.17 org.apache.poi poi-ooxml 3.17 org.apache.poi poi-ooxml-schemas 3.17 org.apache.commons commons-csv 1.6 org.springframework.boot spring-boot-maven-plugin org.mybatis.generator mybatis-generator-maven-plugin 1.3.2 true true Generate MyBatis Artifacts generate org.mybatis.generator mybatis-generator-core 1.3.2 src/main/java **/*.xml
Spring Boot ������������������
package com.zjm.gwork;import javax.servlet.MultipartConfigElement;import org.mybatis.spring.annotation.MapperScan;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.EnableAutoConfiguration;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.boot.web.servlet.MultipartConfigFactory;import org.springframework.boot.web.servlet.ServletComponentScan;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.ComponentScan;import java.io.File;@SpringBootApplication@EnableAutoConfiguration(exclude = { org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class})@MapperScan("com.zjm.gwork.**.mapper")@ServletComponentScan("com.zjm.gwork.utils")public class GworkApplication { public static void main(String[] args) { SpringApplication.run(GworkApplication.class, args); } @Bean public MultipartConfigElement multipartConfigElement() { MultipartConfigFactory factory = new MultipartConfigFactory(); factory.setMaxFileSize("300MB"); factory.setMaxRequestSize("500MB"); String tempUrl = System.getProperty("user.dir") + File.separator + "bjgwork" + File.separator + "tmp"; File file = new File(tempUrl); if (!file.exists()) { file.mkdirs(); } factory.setLocation(tempUrl); return factory.createMultipartConfig(); }}
application.yml ���������������
server: port: 7001spring: datasource: url: jdbc:mysql://localhost:3306/gwork?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&useSSL=false username: root password: root druid: filters: stat driver-class-name: com.mysql.jdbc.Driver initial-size: 2 min-idle: 2 max-active: 30 max-wait: 60000 time-between-eviction-runs-millis: 60000 min-evictable-idle-time-millis: 300000 validation-query: SELECT 'x' test-while-idle: true test-on-borrow: false test-on-return: false pool-prepared-statements: false max-pool-prepared-statement-per-connection-size: 20 mapper-locations: classpath*:com/zjm/gwork/**/mapper/*xml type-aliases-package: com.zjm.gwork.**.modelpagehelper: helperDialect: mysql reasonable: true supportMethodsArguments: true params: count=countSql returnPageInfo: checkflowable: check-process-definitions: falsedb-identity-used: truedatabase-schema-update: truehistory-level: full# ���������������������������uploadpath: c:\uploadfile\templatepath: c:\templatefile\mybatis
������������������������
- ��������������� node + Vue.js ������
- ��������������� Spring Boot 2.0.4.RELEASE��������� MyBatis ��� MySQL 5.6
- ��������������������� Git ������������������������������������
- ��������������������� Swagger ������ API ���������������������������
- ��������������������������������������������������������� 70 ������
- ������������������������ JRebel ������������������
������������
- ������ Apache POI ������������ Word���Excel ������
- ������ Commons CSV ������������������������������
- ��������� Mentor ������������������������������������������
- ������������������������ Druid ������������������
- ��������� Flowable ���������������������
������������
- ������������������������������ JRebel ������������
- ��������� ������������ JWT ������������������
- ��������� ��������������� ������������
- ������������������ reviews ������������
发表评论
最新留言
不错!
[***.144.177.141]2025年04月04日 08时10分17秒
关于作者

喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
spring-boot-2.0.3之redis缓存实现,不是你想的那样哦!
2021-05-09
httprunner学习23-加解密
2021-05-09
有道云笔记 同步到我的博客园
2021-05-09
阿里云“网红"运维工程师白金:做一个平凡的圆梦人
2021-05-09
李笑来必读书籍整理
2021-05-09
http头部 Expect
2021-05-09
Hadoop(十六)之使用Combiner优化MapReduce
2021-05-09
《机器学习Python实现_10_06_集成学习_boosting_gbdt分类实现》
2021-05-09
CoreCLR源码探索(八) JIT的工作原理(详解篇)
2021-05-09
IOS开发Swift笔记16-错误处理
2021-05-10
flume使用中的一些常见错误解决办法 (地址已经使用)
2021-05-10
【Java-27】Java常见错误记录
2021-05-10
andriod 开发错误记录
2021-05-10
C语言编译错误列表
2021-05-10
看明白这两种情况,才敢说自己懂跨链! | 喵懂区块链24期
2021-05-10
张一鸣:创业7年,我经历的5件事
2021-05-10
SQL基础语法
2021-05-10
git拉取远程指定分支代码
2021-05-10
C语言--C语言总结大纲
2021-05-10