o.s.b.d.LoggingFailureAnalysisReporte报错

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2019-06-29 15:26:30.296 ERROR 20832 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : ***************************APPLICATION FAILED TO START***************************Description:Parameter 0 of method modifyRequestBodyGatewayFilterFactory in org.springframework.cloud.gateway.config.GatewayAutoConfiguration required a bean of type 'org.springframework.http.codec.ServerCodecConfigurer' that could not be found.Action:Consider defining a bean of type 'org.springframework.http.codec.ServerCodecConfigurer' in your configuration.Process finished with exit code 1

今天在parent2.1.6.RELEASE , Greenwich.SR1 使用spring cloud getway 启动是时候出现这个报错
原因maven使用了这个web依赖,把这个依赖去掉,没有报错
o.s.b.d.LoggingFailureAnalysisReporte报错_第1张图片
而如果要使用webflux请使用

  
      org.springframework.boot
      spring-boot-starter-webflux
    

你可能感兴趣的:(SpringCloud)