当前位置:编程学习 > JAVA >>

org.springframework.beans.factory.BeanCreationException: Error creating bean wit

这种错误一般是什么引起的 --------------------编程问答-------------------- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\Tomcat\Tomcat 6.0\webapps\datainput\WEB-INF\classes\spring\context-hibernate.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: entity class not found: com.tellhow.bus.hbm.BaseBus. --------------------编程问答-------------------- hbm文件配置有错误,spring不能根据hbm来组装成bean,检查下hbm中的配置吧
补充:Java ,  Web 开发
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,