Problems to inject Repository when data-jpa dep is on
问题 I noticed, as soon as I un-comment JPA dep, see below: implementation("org.springframework.boot:spring-boot-starter-jdbc") implementation ("org.springframework.boot:spring-boot-starter-data-jdbc") //implementation ("org.springframework.boot:spring-boot-starter-data-jpa") I do not have any @Entity annotated classes in my code. I got an error on start: The bean 'myRepository', defined in null, could not be registered. A bean with that name has already been defined in null and overriding is