expected at least 1 bean which qualifies as autowire candidate @ComponentScan注解打错,何等的粗心。代码核对再多遍也没用啊!!