Flowable学习(1):SpringBoot整合Flowable


  大体的基本配置的参考文章:SpringBoot集成Flowable Modeler
  看了大佬的文章,还是踩了不少的坑,查资料也没有找到相关的解决办法,只能自己记录下。

   第一部分都是废话,可以直接跳过。。。。直接看解决办法


一、打死跳不出去的SpringBoot Security登陆页

  按照最开始大佬文章进行配置了之后,会发现,还是永远也跳不出SpringBoot Security的登陆页面
恐怖的页面
  emmm,查了很久的资料,在网上也没人碰到相同的问题,所以,只能自己一点点试验。

在这里插入图片描述

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
Spring Boot整合Flowable可以通过引入相关依赖和配置文件来实现。 首先,在配置文件中需要设置以下几个属性: - `flowable.standalone.server.enabled=false`:禁用Flowable的独立服务器模式。 - `spring.main.allow-bean-definition-overriding=true`:允许Bean的覆盖。 - `flowable.async-executor-activate=false`:关闭定时任务的执行。 - `flowable.idm.enabled=false`:禁用身份信息的检测。 - `flowable.database-schema-update=false`:禁止生成数据库表。 其次,需要在pom.xml文件中引入Flowable和Xerces的相关依赖: ``` <!-- https://mvnrepository.com/artifact/org.flowable/flowable-spring-boot-starter --> <dependency> <groupId>org.flowable</groupId> <artifactId>flowable-spring-boot-starter</artifactId> <version>6.7.2</version> </dependency> <!-- https://mvnrepository.com/artifact/xerces/xercesImpl --> <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.12.2</version> </dependency> ``` 最后,可以创建一个测试类,并注入所需的Flowable服务: ``` @RunWith(SpringRunner.class) @SpringBootTest(classes = BizApp.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) public class FlowableTest { @Autowired private RepositoryService repositoryService; @Autowired private RuntimeService runtimeService; @Autowired private TaskService taskService; @Autowired private HistoryService historyService; } ``` 通过以上步骤,就可以在Spring Boot项目中成功整合Flowable流程引擎。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [springboot整合flowable](https://blog.csdn.net/RenshenLi/article/details/124547710)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值