I found several similar topics but the solution don't work without specifying @EntityScan and @EnableJpaRepository
https://stackoverflow.com/questions/61213818/spring-boot-custom-starter-and-spring-data-jpa-how-to-correctly-provide-reposi
Did you look at the response in stackoverflow thread you gave a link to? It describes in details exactly what you need. Moreover, man gave a link to popular open-source framework that applies this approach, and it definitely works.
Yeah, I tried this. And this https://stackoverflow.com/questions/66549366/spring-boot-starter-with-own-entity-and-repository. I need to use spring jpa in custom spring starter In my custom starter in the service class, I add the repository using Autowired
Обсуждают сегодня