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?
<properties>
<java.version>1.8</java.version>
<spring-cloud.version>2021.0.3</spring-cloud.version>
</properties>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With