Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the spring cloud services version compatible to Spring boot version 2.7.11?

I am developing a spring boot application. I'am using the latest version of spring boot(2.7.11) for Java 8. I have added all my logic but cannot start my application properly.

The issue is when I'am trying to run the spring boot application it says:

Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.cloud.bootstrap.BootstrapApplicationListener and org.springframework.boot.builder.SpringApplicationBuilder

In the pom.xml file

<parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.7.11</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>
<properties>
        <java.version>1.8</java.version>
        <spring-cloud-services.version>      </spring-cloud-services.version>
        <spring-cloud.version>               </spring-cloud.version>
    </properties>

I beleive if I correctly enter the correct spring-cloud-services.version and spring-cloud.version the application will run. But what is the correct version numbers for the above for Spring boot version 2.7.11?

like image 831
Luke Avatar asked Jun 05 '26 04:06

Luke


1 Answers

<properties>
        <java.version>1.8</java.version>
        <spring-cloud.version>2021.0.3</spring-cloud.version>
</properties>
like image 61
Pedro Quispe Avatar answered Jun 08 '26 01:06

Pedro Quispe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!