jihs 5a7acc4ebe 更新 3 anni fa
..
db a7cb3a9f93 新建项目 3 anni fa
src 5a7acc4ebe 更新 3 anni fa
pom.xml a7cb3a9f93 新建项目 3 anni fa
readme.md a7cb3a9f93 新建项目 3 anni fa

readme.md

activiti 模块说明

------- from pmc

使用activiti5.22.0版本

  • JeecgApplication.java
    修改注解

    @SpringBootApplication(exclude = {org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class,
        org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration.class
    ,org.activiti.spring.boot.SecurityAutoConfiguration.class
    })
    
  • jeecg-boot/jeecg-boot-module-system/pom.xml 添加依赖

    <dependency>
    <groupId>org.jeecgframework.boot</groupId>
    <artifactId>jeecg-boot-module-activiti</artifactId>
    <version>2.1.4</version>
    </dependency>
    
    • jeecg-boot/pom.xml 添加 > jeecg-boot-module-activiti xml <modules> <module>jeecg-boot-base-common</module> <module>jeecg-boot-module-system</module> <module>jeecg-boot-module-activiti</module> </modules>
  • jeecg-boot/jeecg-boot-module-activiti/db/ 文件夹内数据库初始化文件

    其他,可网上搜索activiti 5.22.0 版本

  • ShiroConfig.java
    添加过滤路径

    //activiti
    filterChainDefinitionMap.put("/activiti/**", "anon");
    filterChainDefinitionMap.put("/diagram-viewer/**", "anon");
    filterChainDefinitionMap.put("/editor-app/**", "anon");
    
  • 启动