代码拉取完成,页面将自动刷新
使用spring cloud starter时图中圈出部分会报空指针,原因是 Feign 实例化时在hmilyTransactionBootstrap实例化之前,Feign会有一个applicationContext,创建完后会发生ContextRefreshedEvent事件,会调用HmilyTransactionSelfRecoveryScheduled的onApplicationEvent方法,但此时hmilyTransactionBootstrap还没有实例化,hmilyCoordinatorRepository还没有创建,所以在SpringBeanUtils.getInstance().getBean(HmilyCoordinatorRepository.class)时就会异常