why it can't be autowired?
# spring
k
why it can't be autowired?
b
oh I could use a @Qualifier maybe? that's one way I know how to do that
sorry, I've used Spring a bit with Kotlin, but there is still a lot of magic
k
maybe paste some code
but if you have it as spring bean I don't see a reason why you have to get via appcontext
are you accesing outside of spring beans?
I was using appcontext because that's what I found in some people's code and I didn't find much info on running batch jobs