在使用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 的回答。
org.hibernate.console.HibernateConsoleRuntimeException: Received a NoClassDefFoundError
原文地址:http://blog.csdn.net/zc123456zzc/article/details/45540513