解决Springboot集成ActivitiModel提示输入用户名密码的问题
activiti-modeler 依赖要排除掉spring-security 相关的依赖。
包括:
spring-security-config
spring-security-core
spring-security-web
spring-security-crypto
pom.xml 写法如下
<!-- Activiti 在线设计 --> <dependency> <groupId>org.activiti</groupId> <artifactId>activiti-modeler</artifactId> <version>${activiti.version}</version> <exclusions> <exclusion> <artifactId>spring-security-config</artifactId> <groupId>org.springframework.security</groupId> </exclusion> <exclusion> <artifactId>spring-security-core</artifactId> <groupId>org.springframework.security</groupId> </exclusion> <exclusion> <artifactId>spring-security-crypto</artifactId> <groupId>org.springframework.security</groupId> </exclusion> <exclusion> <artifactId>spring-security-web</artifactId> <groupId>org.springframework.security</groupId> </exclusion> </exclusions> </dependency>