这个错误肯定是缺少注解 实现类必须以@Service或@Component注解才行。 还是控制类里缺少@Autowired 还有 注入的是抽象类,不是实现类 转载于:https://www.cnblogs.com/chenjb-0218/p/8011067.html