I have a component scan configuration as this:
@Configuration
@ComponentScan(basePackageClasses = {ITest.class},
includeFilters = {@C
As I said earlier, component scan is working only for concrete classes.
In order to solve my problem I have followed these steps:
org.springframework.context.annotation.ImportBeanDefinitionRegistrar
EnableJdbiRepositories
which is importing my custom importer.