We may not need the Spring Primary annotation on Beans of the same class, primarily when we use the @Bean annotation. When we have Java classes that implement the same interface, we will surely get the NoUniqueBeanDefinitionException exception. It happens
Using Spring Autowired in Kotlin
This post shows an example of how to use @Autowired to inject @Service object in @Controller object Kotlin.
Using Spring @Autowired with @Qualifier
This article demonstrates how to qualify beans of the same reference type in Spring. @Qualifier enables you to select and use a particular bean from a set of beans of the same type existing in the Spring container.