我正在开发一个spring Boot 应用程序。我使用的是最新版本的spring Boot (2.7.11)for Java 8。我已经添加了所有逻辑,但无法正确启动应用程序。
问题是,当我试图运行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,应用程序将运行。但是对于Sping Boot 版本2.7.11,上面的正确版本号是多少?
1条答案
按热度按时间5f0d552i1#
字符串