org.hibernate.console.HibernateConsoleRuntimeException: Received a NoClassDefFoundError

来源:互联网 发布:星光大道网络报名 编辑:程序博客网 时间:2024/05/23 19:21

在使用hibernate code generation 从数据库逆向生成Java类时报错:
org.hibernate.console.HibernateConsoleRuntimeException: Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
如图:
这里写图片描述

解决方法:
将hibernate的版本从3.6改为3.5
(之前安装的时候是用jbosstools-4.2.3.Final_2015-03-26_23-05-30-B264-updatesite-hibernatetools.zip离线安装的,我也不知道装的hibernate到底是什么版本T_T)
这里写图片描述

这个答案出自http://stackoverflow.com/questions/24324442/hibernate-tools-eclipse-luna-reverse-engineer-error-noclassdeffounderror-or里面 code9215 的回答。

0 0
原创粉丝点击