Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring Boot upgrade to 2.6.0 not compatible with Spring Cloud release train

We're trying to upgrade spring boot version to 2.6.0 and faced up with "Spring Boot [2.6.0] is not compatible with this Spring Cloud release train" (when running integration tests).

In additional

  • spring-cloud.version = 2020.0.4

  • We're using org.springframework.cloud (spring-cloud-context & spring-cloud-commons) 3.0.4

  • And have (also) this block in the pom:

    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-netflix-zuul</artifactId>
        <version>2.2.10.RELEASE</version>
        <exclusions>
           <exclusion>
              <artifactId>bcprov-jdk15on</artifactId>
              <groupId>org.bouncycastle</groupId>
           </exclusion>
           <exclusion>
              <artifactId>spring-cloud-starter</artifactId>
              <groupId>org.springframework.cloud</groupId>
           </exclusion>
        </exclusions>
    </dependency>
    
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter</artifactId>
        <version>3.0.4</version>
    </dependency>
    

Actually I didn't find in Spring docs compobility between Spring Cloud and Spring Boot 2.6.0, it's sound very odd but Have I wait for newest spring cloud version or I can beat it?

P.S. :

SDK: Java 8

Other tries (each was tried separately):

  • spring.profiles.active=native
  • spring.cloud.compatibility-verifier.enabled=false
like image 639
AsfK Avatar asked Jan 24 '23 05:01

AsfK


2 Answers

It will be released on November 30 2021. See https://github.com/spring-cloud/spring-cloud-release/milestones?direction=asc&sort=due_date&state=open

like image 58
spencergibb Avatar answered Jan 26 '23 18:01

spencergibb


You need spring cloud dependencies 2021.0.0 which is now available.

like image 29
cherish sham Avatar answered Jan 26 '23 19:01

cherish sham