我正在尝试使用spring-boot-starter-webflux和reactive Netty创建一个spring-boot-2rest api。我正在尝试按照Spring-Boot-2中定义的application.yml中定义的新属性来设置上下文路径。server.servlet.context-path: /api # Define the server context pat
在我的Springboot应用程序中,我将WebFlux依赖为spring-boot-starter-webflux,在服务器启动时,它显示应用程序已准备好使用Netty。NettyWebServer:Netty started on port(s): 8080
另外,我有SpringBoot Actuator依赖项,并在端口9443 <em