I have weirdest problem. I have java class A and I...
# spring
c
I have weirdest problem. I have java class A and I also have Kotlin class KA which extends A. both are `@Component`s, KA is also annotated with
@Primary
. In some components KA is autowired, in others A does. What the hell? If I rewrite KA in Java, then everything works as expected. All kotlin and java classes live in
src/main/java
. Kotlin version is 1.1.1, I use jvm8.