springboot启动时多次监听到ApplicationReadyEvent事件
现象版本说明:springboot:2.2.2.RELEASEspringcloud:2.2.2.RELEASE测试代码:@Slf4jpublic class ReadyEventListener implements ApplicationListener<ApplicationReadyEvent> { static final AtomicInteger count = new AtomicInteger(); static { log.inf
原创
2021-06-27 18:11:43 ·
3073 阅读 ·
0 评论