目录 一、问题描述二、解决方法 一、问题描述 @Autowired 报错: Could not autowire. No beans of 'OrderService' type found. 二、解决方法 实现类缺少 @Service 注解,加上即可。