• 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版了。

  • 相关阅读:
    第一周作业
    模拟赛3 题解
    模拟赛2 题解
    [HNOI2008]GT考试 题解
    NOI Online 提高组 题解
    模拟赛1 题解
    知识点拾遗
    [NOIp2012]疫情控制 题解
    [CEOI2002]Bugs Integrated, Inc. 题解
    [NOIp2017]宝藏 题解
  • 原文地址:https://www.cnblogs.com/zhouyu629/p/12731091.html
Copyright © 2020-2023  润新知