为了账号安全,请及时绑定邮箱和手机立即绑定

项目启动就报这个错,怎么回事啊

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.shiro.web.session.mgt.DefaultWebSessionManager#223b253b' defined in class path resource [spring-shiro.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'sessionDao' of bean class [org.apache.shiro.web.session.mgt.DefaultWebSessionManager]: Bean property 'sessionDao' is not writable or has an invalid setter method. Did you mean 'sessionDAO'?

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1568)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)

at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:299)

... 34 more


正在回答

1 回答

https://img1.sycdn.imooc.com//5bfa83560001139508550053.jpg兄弟,英语很重要啊

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

项目启动就报这个错,怎么回事啊

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信