摘要: 1、java.lang.noclassdeffounderror:org/hibernate/cfg/hbmbinder$secondPass把hibernate-annotations.jar删除即可。2、entity class not found但是对应的类确实存在,检查hbm.xml中的class对应的类名和实体的路径是否一致3、Remember that ordinal parameters are 1-based!HQL语句错误4、hibernate Unknown entity class 错误在hibernate.cfg.xml中添加<mapping resource=& 阅读全文
posted @ 2010-12-22 21:28 focusJ 阅读(987) 评论(0) 推荐(0)