java.lang.IllegalStateException: Error processing condition on org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration.eventBus
Caused by: java.lang.IllegalStateException: @ConditionalOnMissingBean did not specify a bean using type, name or annotation and the attempt to deduce the bean's type failed
Caused by: org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanTypeDeductionException: Failed to deduce bean type for org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration.eventBus
Caused by: java.lang.ClassNotFoundException: org.apache.shiro.event.EventBus
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
EventBus
https://www.oschina.net/news/75543/shiro-1-3-0
shiro1.3 加入了时间总线。
而引入shiro-redis ,会使用1.2.1的jar
解决办法 排除掉shiro-redis 的 shiro-core 的jar
shiro1.3 加入了时间总线。
而引入shiro-redis ,会使用1.2.1的jar
解决办法 排除掉shiro-redis 的 shiro-core 的jar