管理员应用程序无法启动

时间:2019-05-27 15:28:03

标签: spring-boot spring-boot-admin

我具有以下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

操作:

更正您的应用程序的类路径,使其包含单个兼容版本的react.retry.Retry

注意:将spring和admin版本更新到2.1.4之后,会得到不同的错误

启动管理应用程序是否还需要其他依赖项

1 个答案:

答案 0 :(得分:0)

Spring Boot Admin使用Spring Boot版本2.1.4.RELEASE

将您的父母更新为此版本