spring stucts hibernate时的问题
任务中用到spring structs hibernate,在启动TOMCAT时,出现下面错误:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService ' defined in resource [/WEB-INF/applicationContext-service.xml] of ServletContext: Can 't resolve reference to bean 'reportTarget ' while setting property 'target '; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportTarget ' defined in resource [/WEB-INF/applicationContext-service.xml] of ServletContext: Can 't resolve reference to bean 'branchDao ' while setting property 'branchDao '; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'branchDao ' defined in resource [/WEB-INF/applicationContext-service.xml] of ServletContext: Initialization method 'init ' threw exception; nested exception is com.hisun.exception.DAOException: message:?存部?信息出? rootCause:null
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportTarget ' defined in resource [/WEB-INF/applicationContext-service.xml] of ServletContext: Can 't resolve reference to bean 'branchDao ' while setting property 'branchDao '; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'branchDao ' defined in resource [/WEB-INF/applicationContext-service.xml] of ServletContext: Initialization method 'init ' threw exception; nested exception is com.hisun.exception.DAOException: message:?存部?信息出? rootCause:null
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'branchDao ' defined in resource [/WEB-INF/applicationContext-service.xml] of ServletContext: Initialization method 'init ' threw exception; nested exception is com.hisun.exception.DAOException: message:?存部?信息出? rootCause:null
com.hisun.exception.DAOException: message:?存部?信息出? rootCause:null
at tfb.app.dao.sys.hibernate.CachedBranchDaoImpl.init(CachedBranchDaoImpl.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:810)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:249)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:177)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveReference(AbstractAutowireCapableBean
。。。。。。。。。。。。。。
上面是当启动TOMCAT后,登陆页面,输入用户名和密码之后出现的错误,希望大家帮个忙,非常感谢
是什么地方出去了呢