springBoot+apache.shiro启动失败:
错误如下:
Description:
Method filterShiroFilterRegistrationBean in org.apache.shiro.spring.config.web.autoconfigure.ShiroWebFilterConfiguration required a bean named 'shiroFilterFactoryBean' that could not be found.
Action:
Consider defining a bean named 'shiroFilterFactoryBean' in your configuration.
造成原因:pom文件中包有问题
我引入是 此包 :shiro-spring-boot-web-starter 启动失败,一直报如上错误
解决办法: 更换此包为:shiro-spring-boot-starter