Spring data jpa- No bean named 'entityManagerFactory' is defined; Injection of autowired dependencies failed

前端 未结 8 1332
鱼传尺愫
鱼传尺愫 2020-11-27 15:19

I\'m developing application using spring data jpa,hibernate,mysql,tomcat7,maven and it\'s create error.I\'m trying to figure it out but i failed.

error are Cannot

8条回答
  •  时光说笑
    2020-11-27 15:35

    In my specific case I seemed to have been missing the dependency

     
     
       org.springframework
       spring-jdbc
       5.1.3.RELEASE
     
    

提交回复
热议问题