jihs e23c5011d0 更新 | há 3 anos atrás | |
---|---|---|
.. | ||
db | há 3 anos atrás | |
src | há 3 anos atrás | |
pom.xml | há 3 anos atrás | |
readme.md | há 3 anos atrás |
使用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");
启动