启动服务报错 :
***************************
APPLICATION FAILED TO START
***************************
Description:
The dependencies of some of the beans in the application context form a cycle:
roomController defined in file [RoomController.class]
┌─────┐
| gameRoomServiceImpl defined in file [GameRoomServiceImpl.class]
↑ ↓
| socketIOService
└─────┘
原因:service层 互相引用。
注入方式用的是@RequiredArgsConstructor 注解final方式注入 报错。
改变注入方式为@Resource 成功解决