<@U27R91J6P> please be aware that your application...
# spring
n
@gert.claeskens please be aware that your application entry point is the start point for the component scan (implictly implied by
@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 details
👍 2
g
Seems only to work in a subpackage. My
ReactiveKotlinApplication
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.