ssm_shiro_blog icon indicating copy to clipboard operation
ssm_shiro_blog copied to clipboard

运行404

Open chen1757902957 opened this issue 5 years ago • 1 comments

严重: 异常将上下文初始化事件发送到类的侦听器实例.[org.springframework.web.context.ContextLoaderListener] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in class path resource [applicationContext.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 class path resource [applicationContext.xml]: Cannot resolve reference to bean 'myRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.luoxiao.realm.MyRealm] for bean with name 'myRealm' defined in class path resource [applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: com.luoxiao.realm.MyRealm

chen1757902957 avatar Oct 25 '19 06:10 chen1757902957

我换了一下jdk就解决了,给后来者提个醒

li136 avatar Apr 16 '21 02:04 li136