spring-cloud/spring-cloud-openfeign

Spring Cloud OpenFeign 4.1.4 and below is not compatible with Spring Boot 3.4.0

gexge opened this issue · 3 comments

gexge commented

Describe the bug
Having the following:

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>3.4.0</version>
    <relativePath/> <!-- lookup parent from repository -->
</parent>

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-openfeign</artifactId>
    <version>4.1.4</version>            
</dependency>

Sample

Caused by: org.springframework.cloud.configuration.CompatibilityNotMetException: Spring Cloud/ Spring Boot version compatibility checks have failed: [[VerificationResult@7ffd4cea description = 'Spring Boot [3.4.0] is not compatible with this Spring Cloud release train', action = 'Change Spring Boot version to one of the following versions [3.2.x, 3.3.x] .
You can find the latest Spring Boot versions here [https://spring.io/projects/spring-boot#learn].

I have the same issue.

This can be traced to the SpringBootVersionVerifier in spring-cloud-commons v4.1.5. This has already been fixed in this commit for v4.2.0-RC1 and can be found on their main branch.

So I'm thinking we need to wait for a spring-cloud-commons v4.2.0 release.

FYI you may want to include

<repositories>
    <repository> 
        <id>repository.spring.milestone</id> 
        <name>Spring Milestone Repository</name> 
        <url>http://repo.spring.io/milestone</url> 
    </repository>
</repositories>

and

<dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-openfeign</artifactId>
            <version>4.2.0-RC1</version>
        </dependency>

into your build for the time being.

The final release is planned for Dec 5th.

Hello @gexge, thanks for creating the issue. As you may see in our release calendar: https://spring.io/projects#release-calendar, Spring Cloud 2024.0.0 release is currently scheduled for 2nd Dec 2024. This release will be compatible with Spring Boot 3.4.0.