【问题标题】:Admin application not starting up管理应用程序未启动
【发布时间】: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


    【解决方案1】:

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

    将您的父母更新到此版本

    【讨论】:

    • 更新后出现以下错误:java.lang.IllegalStateException:de.codecentric.boot.admin.server.config.AdminServerWebConfiguration.instancesController 上的错误处理条件原因:java.lang.IllegalStateException:未能来自 ClassLoader [sun.misc.Launcher$AppClassLoader@764c12b6] 的自省类 [de.codecentric.boot.admin.server.config.AdminServerWebConfiguration] 原因:java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.module.SimpleModule
    猜你喜欢
    • 2023-03-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-08-22
    相关资源
    最近更新 更多