bocool
2016-08-21 15:17
我用eclipse做启动tomcat是报错啊:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'empService' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'empDao' while setting bean property 'empDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'empDao' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'sesstionFactory' while setting bean property 'sesstionFactory'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'sesstionFactory' is defined
注意报错信息中的这句:Cannot resolve reference to bean 'sesstionFactory',意思是不能引用'sesstionFactory'这个bean,session这个单词拼错了,改过来就行了
基于SSH实现员工管理系统之框架整合篇
49831 学习 · 344 问题
相似问题