jihs 5a7acc4ebe 更新 | il y a 3 ans | |
---|---|---|
.. | ||
db | il y a 3 ans | |
src | il y a 3 ans | |
pom.xml | il y a 3 ans | |
readme.md | il y a 3 ans |
使用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>
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");
启动