https://kotlinlang.org logo
Title
u

user

07/03/2022, 10:31 AM
No bean exists of type error in Kotlin-micronaut I have a class which creates custom-named bean (test-index), but if I try to change the name of the bean to some other name (say test-index-new), it results in following error whereas the same works if the bean name is not changed: Code: @Singleton @Requires("data-source-config.files-to-load.bigram-corpus") class Service( @Named("test-index") val biGramIndexManagerService: // changing it to test-index-new results in below error ) No bean of type exists for the given qualifier:...