用eclipse做啟動(dòng)tomcat是報(bào)錯(cuò),求老師或同學(xué)們解答,謝謝!?。?!
我用eclipse做啟動(dòng)tomcat是報(bào)錯(cuò)啊: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
2016-08-27
注意報(bào)錯(cuò)信息中的這句:Cannot resolve reference to bean 'sesstionFactory',意思是不能引用'sesstionFactory'這個(gè)bean,session這個(gè)單詞拼錯(cuò)了,改過來(lái)就行了