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>
    
  • 相关阅读:
    apache 修改文件上传大小限制
    linux 桥接模式下 固定ip 设置
    简易 红包生成
    Sublime Text 3 快捷键
    excle 文件的导入和导出
    php 下载文件
    右则css 小浮条
    html 自动跳转页面
    Media Queries详细
    mobile响应式页面meta信息相关记录
  • 原文地址:https://www.cnblogs.com/szls-666/p/12494181.html
Copyright © 2011-2022 走看看