SSH启动报错
org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'use...
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAction' defined in file [E:\tomcat-sshframe-7.0.4\webapps\ROOT\WEB-INF\classes\spring\applicationContext-action.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in file [E:\tomcat-sshframe-7.0.4\webapps\ROOT\WEB-INF\classes\spring\applicationContext-service.xml]: Cannot resolve reference to bean 'userDao' while setting bean property 'userDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDao' defined in file [E:\tomcat-sshframe-7.0.4\webapps\ROOT\WEB-INF\classes\spring\applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateTemplate' defined in file [E:\tomcat-sshframe-7.0.4\webapps\ROOT\WEB-INF\classes\spring\applicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [E:\tomcat-sshframe-7.0.4\webapps\ROOT\WEB-INF\classes\spring\applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询