java – Spring Data JPA – Consider defining a bean named ‘entityManagerFactory’ in your configuration

I am developing an application in Spring, using Tomcat, Mysql5, Java8… The problem is that I cannot deploy it, due to “required bean ‘entityManagerFactory’ not found” problem. I have developed this project with my coworkers but they can perfectly deploy it with any problems, even if I copy-paste the same project in Spring Tool Suite. … Read more