解决 the dependencies of some of the beans in the application context form a cycle
问题前些天在写一个课程设计的时候程序启动启动中遇到这个“the dependencies of some of the beans in the application context form a cycle”问题这个问题看意思就知道是EmployeeServiceImpl和EmpRoleServiceImpl出现了循环依赖现象,解决一看果然是解决方案不用@RequiredArgsConstructor 注解,而在成员变量上加@Autowired注解(记得把final关键字去掉)至此,问