【发布时间】:2019-05-27 15:28:03
【问题描述】:
我有以下 spring boot 依赖:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.5.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
和管理依赖
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-server</artifactId>
<version>2.1.0</version>
</dependency>
在启动时应用程序失败并出现以下错误:
An attempt was made to call the method reactor.retry.Retry.retryMax(J)Lreactor/retry/Retry; but it does not exist. Its class, reactor.retry.Retry, is available from the following locations:
jar:file:/C:/Users/313158/.m2/repository/io/projectreactor/addons/reactor-extra/3.1.7.RELEASE/reactor-extra-3.1.7.RELEASE.jar!/reactor/retry/Retry.class
It was loaded from the following location:
file:/C:/Users/313158/.m2/repository/io/projectreactor/addons/reactor-extra/3.1.7.RELEASE/reactor-extra-3.1.7.RELEASE.jar
行动:
更正应用程序的类路径,使其包含一个兼容的 reactor.retry.Retry 版本
注意:将 spring 和 admin 版本更新到 2.1.4 后,得到不同的错误
启动管理应用程序是否需要任何其他依赖项
【问题讨论】:
标签: spring-boot spring-boot-admin