nikos
11/19/2017, 7:05 PM@SpringBootApplication
), so that you either have to add the package of your FooRepository
to the component scan packages, or put FooRepository in the same package or sub-package where ReactiveKotlinApplication
lives, see https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-structuring-your-code.html for detailsgert.claeskens
11/19/2017, 7:38 PMReactiveKotlinApplication
is in com.example.infrastructure
Repositories are in com.example.domain
with @ComponentScan
pointing at com.example
, IntelliJ picks up the repositories in the Spring Context.