我正在开发一个 spring boot 应用程序。我正在为 Java 8 使用最新版本的 spring boot(2.7.11)。 我已经添加了所有逻辑,但无法正常启动我的应用程序。
问题是当我尝试运行它说的 spring boot 应用程序时:
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
在pom.xml文件中
<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>
我相信如果我正确输入正确的 spring-cloud-services.version 和 spring-cloud.version 应用程序将会运行。但是上面的 Spring boot 版本 2.7.11 的正确版本号是多少?