问答详情
源自:3-1 课程总结

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

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

http://img.mukewang.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


提问者:suerfly4021137 2017-04-22 19:16

个回答

  • sprite_Z
    2017-05-04 00:05:17

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