报错:Consider defining a bean of type 'xxxxxxxxxxxxx' in your configuration
1. 你应该在 ApplyApplication 启动类里,扫描你的 Service包,多包扫描方法如下
@SpringBootApplication(scanBasePackages = {"xx.xxx.apply.controller", "xx.xxx.apply.service.*", "xx.xxx.apply.security.*"})