由于我已经将spring-boot-dependencies版本从2.2.5.RELEASE升级到了2.4.0,所有使用MockWebServer的测试都失败了,出现了以下错误:
org.springframework.web.reactive.function.client.WebClientRequestException: Connection refused: localhost/0:0:0:0:0:0:0:1:56338; nested exception is io.netty.channel.AbstractChannel$AnnotatedConnectException: C