简体   繁体   中英

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?

PS :

SDK: Java 8

Other tries (each was tried separately):

  • spring.profiles.active=native
  • spring.cloud.compatibility-verifier.enabled=false

You need spring cloud dependencies 2021.0.0 which is now available.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM