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

 shiro-spring-boot-starter 和 shiro-redis 整合 异常分析

shiro-spring-boot-starter 和 shiro-redis 整合 异常分析

shiro1.3 加入了时间总线。

而引入shiro-redis  ,会使用1.2.1的jar

解决办法    排除掉shiro-redis 的  shiro-core  的jar

shiro-spring-boot-starter 和 shiro-redis 整合 异常分析

相关文章:

  • 2022-12-23
  • 2021-11-07
  • 2021-11-05
  • 2022-12-23
  • 2022-01-22
  • 2021-06-27
  • 2022-02-12
  • 2022-02-17
猜你喜欢
  • 2022-12-23
  • 2022-01-03
  • 2021-04-09
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
相关资源
相似解决方案