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>
    
  • 相关阅读:
    面向对象基础小结
    异常应用场景
    集合应用场景1:迭代器
    集合应用场景2——数据结构
    华为ce交换机 Bridge-Domain NVE
    linux 内核内置模块
    linux bridge 转发 ip
    iptables nat&conntrack
    loopback
    配置集中式网关部署方式的VXLAN示例(静态方式)
  • 原文地址:https://www.cnblogs.com/szls-666/p/12494181.html
Copyright © 2011-2022 走看看