ssm_shiro_blog
ssm_shiro_blog copied to clipboard
运行404
严重: 异常将上下文初始化事件发送到类的侦听器实例.[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
我换了一下jdk就解决了,给后来者提个醒