为了账号安全,请及时绑定邮箱和手机立即绑定

运行代码报错nested exception is java.lang.NoClassDefFoundError: org/hibernate/HibernateException错误

我是用eclipse在老师你的源码上修改的代码,但这个类报了org.aspectj.lang.JoinPoint找不到的错误?

http://img1.sycdn.imooc.com//58fb3a200001577d08030407.jpg

将这个类注释掉后,运行GirlApplication的main方法后,也报错了Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/HibernateException


正在回答

1 回答

很明显的缺少jar包呀,看下pom文件里jar包引进来没有?

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

运行代码报错nested exception is java.lang.NoClassDefFoundError: org/hibernate/HibernateException错误

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号