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

  • 相关阅读:
    内容绘制到Bitmap上不成功警示
    一些c++面试题目
    Windows Socket 主要API功能
    面试问题(一)
    函数指针与指针函数
    机器学习和数据挖掘的网站
    vs2010打开vs2008程序出现错误
    MATLAB将矩阵使用.txt文件格式保存
    指针实现值交换
    堆与栈的区别
  • 原文地址:https://www.cnblogs.com/zhouyu629/p/12731091.html
Copyright © 2011-2022 走看看