zoukankan      html  css  js  c++  java
  • springcloud gateway整合启动报错

    ***************************
    APPLICATION FAILED TO START
    ***************************
    
    Description:
    
    An attempt was made to call a method that does not exist. The attempt was made from the following location:
    
        org.springframework.cloud.gateway.config.GatewayAutoConfiguration$NettyConfiguration.gatewayHttpClient(GatewayAutoConfiguration.java:675)
    
    The following method did not exist:
    
        reactor.netty.resources.ConnectionProvider.elastic(Ljava/lang/String;Ljava/time/Duration;Ljava/time/Duration;)Lreactor/netty/resources/ConnectionProvider;
    
    The method's class, reactor.netty.resources.ConnectionProvider, is available from the following locations:
    
        jar:file:/D:/Devtools/maven/repository/io/projectreactor/netty/reactor-netty/0.9.1.RELEASE/reactor-netty-0.9.1.RELEASE.jar!/reactor/netty/resources/ConnectionProvider.class
    
    It was loaded from the following location:
    
        file:/D:/Devtools/maven/repository/io/projectreactor/netty/reactor-netty/0.9.1.RELEASE/reactor-netty-0.9.1.RELEASE.jar
    
    
    Action:
    
    Correct the classpath of your application so that it contains a single, compatible version of reactor.netty.resources.ConnectionProvider
    
    
    Process finished with exit code 1

    修改版本前
    <properties>
      <spring-boot.version>2.2.3</spring-boot.version>
    <spring-cloud.version>Hoxton.SR3</spring-cloud.version>
    <com-alibaba-cloud.version>2.2.1.RELEASE</com-alibaba-cloud.version>
    </properties>
    修改后
    <properties>
      <spring-boot.version>2.2.1</spring-boot.version>
    <spring-cloud.version>Hoxton.SR1</spring-cloud.version>
    <com-alibaba-cloud.version>2.2.1.RELEASE</com-alibaba-cloud.version>
    </properties>

    参考:https://www.jianshu.com/p/f47ebd1eaa51
     
  • 相关阅读:
    android中的一个圆角图片
    android中一个评分的控件
    C++ primer(第五版)中需要复习第二遍的知识点记录
    在ubuntu18.04上交叉编译opencv2.4.9
    C6748和音频ADC连接时候的TDM以及I2S格式问题
    C6748的启动方式问题
    AK5703的ALC
    cool edit工具介绍及使用
    CCS编译环境及TI仿真器的使用
    把YUV转化成opencv中的Mat格式的两行代码备份
  • 原文地址:https://www.cnblogs.com/lqmblog/p/15516972.html
Copyright © 2011-2022 走看看