SpringBoot自动加载机制,在shiro-spring-boot-starter 有默认配置。所以需要屏蔽shiro
在启动文件的注解中把出现的三个匹配的项目排除 就可以了
@SpringBootApplication(exclude = {ShiroAnnotationProcessorAutoConfiguration.class, ShiroAutoConfiguration.class, ShiroBeanAutoConfiguration.class})
SpringBoot自动加载机制,在shiro-spring-boot-starter 有默认配置。所以需要屏蔽shiro
在启动文件的注解中把出现的三个匹配的项目排除 就可以了
@SpringBootApplication(exclude = {ShiroAnnotationProcessorAutoConfiguration.class, ShiroAutoConfiguration.class, ShiroBeanAutoConfiguration.class})