Join Slack
Powered by
I have a spring @Component and want it to have a d...
# spring
u
123
06/21/2018, 10:57 AM
I have a spring @Component and want it to have a delegate, something like this
@Component class Service(val list: ArrayList<String> = emptyList()) : List<> ... by list
Spring thinks that I’m injecting a bean and throws
No qualified beans…
How to solve it?
3
Views
Open in Slack
Previous
Next