解决The injection point has the following annotations:@org.springframework.beans.factory.annotation错误~
作者:mmseoamin日期:2024-01-18

错误描述如下所示:

解决The injection point has the following annotations:@org.springframework.beans.factory.annotation错误~,**在这里插入图片描述**,第1张

错误原因:未将com.reggie.service.EmployeeService类型的bean进行自动装配

我的错误原因是忘记给EmployeeService的实现类添加注解@Service,也就是未实现自动装配,那么只需要添加注解即可解决该问题