org.springframework.beans.factory.BeanCreationException
Posted on 2010-07-14 13:33 记录 阅读(597) 评论(0) 编辑 收藏 举报错误:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'companyServiceBean': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [beans.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [com/hqhop/hqhopsvc/tech/bean/client/Custome.hbm.xml] cannot be opened because it does not exist
解决:
com/hqhop/hqhopsvc/tech/bean/client/Customer.hbm.xml