异常内容:
APPLICATION FAILED TO START
Description:
Web application could not be started as there was no org.springframework.boot.web.reactive.server.ReactiveWebServerFactory bean defined in the context.
Action:
Check your application’s dependencies for a supported reactive web server.
Check the configured web application type.
与目标 VM 断开连接, 地址为: ‘‘127.0.0.1:62420’,传输: ‘套接字’’
进程已结束,退出代码1
解决:在代码中多余的两句配置删除
spring:
main:
web-application-type: reactive
allow-bean-definition-overriding: true