zoukankan      html  css  js  c++  java
  • 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 , <spring-cloud.version>Greenwich.SR1</spring-cloud.version> 使用spring cloud getway 启动是时候出现这个报错
    原因maven使用了这个web依赖,把这个依赖去掉,没有报错
    在这里插入图片描述
    而如果要使用webflux请使用

      <dependency>
          <groupId>org.springframework.boot</groupId>
          <artifactId>spring-boot-starter-webflux</artifactId>
        </dependency>
    
  • 相关阅读:
    Python for i 循环
    Python 输入分数并评
    用户名和密码的输入
    cocos2d-x 3.0学习
    VS2008 ShotKey
    Cocos2d-x 3.0的安装方法
    VFC
    一、在WIN7 64位系统平台,VS2013环境下安装WTL90_4090_RC1(2014-04-01)
    http://www.vcf-online.org/
    Win7 64位 VS2012 安装 Qt5
  • 原文地址:https://www.cnblogs.com/szls-666/p/12494181.html
Copyright © 2011-2022 走看看