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

Exception in thread "main" java.lang.NoClassDefFoundError: org/hibernate/annotations/common/reflection/ClassLoadingException

Exception in thread "main" java.lang.NoClassDefFoundError: org/hibernate/annotations/common/reflection/ClassLoadingException

at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1402)

at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1844)

at com.imooc.util.HibernateUtil.<clinit>(HibernateUtil.java:21)

at com.imooc.entity.Test.add(Test.java:22)

at com.imooc.entity.Test.main(Test.java:11)

Caused by: java.lang.ClassNotFoundException: org.hibernate.annotations.common.reflection.ClassLoadingException


正在回答

1 回答

jar 包看下

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

举报

0/150
提交
取消
Hibernate初探之一对多映射
  • 参与学习       42157    人
  • 解答问题       310    个

Hibernate中一对多关联映射配置,以及cascade和inverse属性作用

进入课程

Exception in thread "main" java.lang.NoClassDefFoundError: org/hibernate/annotations/common/reflection/ClassLoadingException

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

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

帮助反馈 APP下载

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

公众号

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