我正在阅读“Learning Spring Boot 2.0, Second Edition”一书,但是使用了Spring Boot 2.5.6,因此我怀疑我的问题可能与我不得不用不同的版本做一些事情有关这是我的build.gradle id 'org.springframework.boot' version '2.5.6'
在我的Spring boot应用程序中,我将WebFlux依赖为spring-boot-starter-webflux,在服务器启动时,它显示应用程序已准备好使用Netty。NettyWebServer:Netty started on port(s): 8080
另外,我有Spring Boot Actuator依赖项,并在端口9443 spring-boot-starter-actuator上公