spring stucts hibernate时的问题

zfsn2008 2007-05-18 03:02:36
任务中用到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后,登陆页面,输入用户名和密码之后出现的错误,希望大家帮个忙,非常感谢
是什么地方出去了呢
...全文
212 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
zfsn2008 2007-05-18
  • 打赏
  • 举报
回复
我的MSN:zfsn2008@hotmail.com,真诚地希望和各位交个朋友

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧