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

Error creating bean with name 'entityManagerFactory' defined in class path resource

Error creating bean with name 'entityManagerFactory' defined in class path resource

慕哥8586128 2018-04-04 21:00:32
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile我根据视频代码写的,百度了半天也没找到怎么解决
查看完整描述

1 回答

?
HansonQ

TA贡献223条经验 获得超56个赞

javassist这个是一个动态生成字节码工具。不知道你配置文件是如何配置的

查看完整回答
反对 回复 2018-04-08
  • Robot_
    Robot_
    javassist怎么讲....安装好eclipse 别的没动 直接看着敲 前面的都可运行。到数据库这里就出问题了...很尴尬 2018-08-13 15:19:03.762 WARN 5684 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactory' parameter 0;
  • 1 回答
  • 0 关注
  • 1622 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信