springcloud_gateway启动报错:org.springframework.cloud.gateway.config.GatewayAutoConfiguration required a bean of type 'org.springframework.http.codec.ServerCodecConfigurer' that could not be found,
因为Springcloud-Gateway依赖的webflux框架,而不是springMVC,所以需要排除到MVC相关的依赖,然后引入webflux相关依赖,即去掉spring-boot-starter-web组件,添加上spring-boot-starter-webflux组件。