解决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>

  

posted @ 2019-06-20 10:43  庞国明  阅读(...)  评论(...编辑  收藏