org.hibernate.console.HibernateConsoleRuntimeException: Received a NoClassDefFoundError

在使用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 的回答。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值