zoukankan      html  css  js  c++  java
  • SpringCloud项目启动报错

    ***************************
    APPLICATION FAILED TO START
    ***************************

    Description:

    Your project setup is incompatible with our requirements due to following reasons:

    - Spring Boot [2.2.2.RELEASE] is not compatible with this Spring Cloud release train


    Action:

    Consider applying the following actions:

    - Change Spring Boot version to one of the following versions [2.3.x, 2.4.x] .
    You can find the latest Spring Boot versions here [https://spring.io/projects/spring-boot#learn].
    If you want to learn more about the Spring Cloud Release train compatibility, you can visit this page [https://spring.io/projects/spring-cloud#overview] and check the [Release Trains] section.
    If you want to disable this check, just set the property [spring.cloud.compatibility-verifier.enabled=false]

    登录 spring官网,查看springcloud和boot版本对应关系。

    https://spring.io/projects/spring-cloud#overview

    Table 1. Release train Spring Boot compatibility
    Release TrainBoot Version

    Hoxton

    2.2.x

    Greenwich

    2.1.x

    Finchley

    2.0.x

    Edgware

    1.5.x

    Dalston

    1.5.x

     

    当初偷懒,springcloud引入过程中pom中的version直接写的是RELEASE。由于boot对应的版本是2.2.2.RELEASE,将springcloud版本修改为Hoxton.SR3,reimport,再次编译通过。

    虽然官网springboot最新版本已发布2.3.0,没有看到与springcloud间的对应关系,没有更新到 2.3.x版了。

  • 相关阅读:
    java实现httpclient 访问
    推荐博文
    Running With xpi
    1 Spring MVC 原理
    windows服务相关
    求职面试三部曲
    使用mvn插件执行工程单元测试OOM的解决办法
    maven-surefire插件问题
    小问题
    NFA到DFA实例
  • 原文地址:https://www.cnblogs.com/zhouyu629/p/12731091.html
Copyright © 2011-2022 走看看