Cannot resolve reference to bean ‘entityManagerFactory’ while setting constructor argument

spring transactional annotation

If you have encountered this problem while you are configuring Spring Data JPA repositories in your application, you are not alone. Don’t be afraid, there is a simple solution for that. Let me provide you a piece of code that

Read More Cannot resolve reference to bean ‘entityManagerFactory’ while setting constructor argument