I was informed by a colleague not to use annotations(@Autowired @Resrouces) to inject services, but I don't know the reason for this,What problems arise if you use annotation injection? can anyone help me?
I'd like to know the reason.can anyone help me?