启动报错:
Consider defining a bean of type ‘org.springframework.http.codec.ServerCodecConfigurer’ in your conf
原因:
这是因为引用spring-boot-starter-web导致的,需要取消掉。因为Spring Cloud Gateway 是使用 netty+webflux实现,webflux与web是冲突的。
启动报错:
Consider defining a bean of type ‘org.springframework.http.codec.ServerCodecConfigurer’ in your conf
原因:
这是因为引用spring-boot-starter-web导致的,需要取消掉。因为Spring Cloud Gateway 是使用 netty+webflux实现,webflux与web是冲突的。