java147369
java147369
2017-11-08 02:57

Spring 整合Shiro时报错

  • spring
  • shiro

图片说明org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in file [H:\MyWorkSpace-Eclipse.metadata.me_tcat\webapps\Spring_Shiro\WEB-INF\classes\applicationContext-shiro.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in file [H:\MyWorkSpace-Eclipse.metadata.me_tcat\webapps\Spring_Shiro\WEB-INF\classes\applicationContext-shiro.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

4条回答