springblade 2.6.0版本 zipkinApplication启动报错

Blade 未结 1 1532
wang
wang 剑童 2020-01-07 11:05
悬赏:10

一、该问题的重现步骤是什么?

1. 

zipkinApplication启动报错。


二、你期待的结果是什么?实际看到的又是什么?

期待结果启动成功。

实际看到的报错信息如下:

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    zipkin2.server.internal.ZipkinHealthIndicator.(ZipkinHealthIndicator.java:26)

The following method did not exist:

    org.springframework.boot.actuate.health.CompositeHealthIndicator.(Lorg/springframework/boot/actuate/health/HealthAggregator;)V

The method's class, org.springframework.boot.actuate.health.CompositeHealthIndicator, is available from the following locations:

    jar:file:/G:/wangxiaofei/m2/repository/org/springframework/boot/spring-boot-actuator/2.2.2.RELEASE/spring-boot-actuator-2.2.2.RELEASE.jar!/org/springframework/boot/actuate/health/CompositeHealthIndicator.class

It was loaded from the following location:

    file:/G:/wangxiaofei/m2/repository/org/springframework/boot/spring-boot-actuator/2.2.2.RELEASE/spring-boot-actuator-2.2.2.RELEASE.jar


Action:

Correct the classpath of your application so that it contains a single, compatible version of org.springframework.boot.actuate.health.CompositeHealthIndicator

Disconnected from the target VM, address: '127.0.0.1:59633', transport: 'socket'

Process finished with exit code 1


三、你正在使用的是什么产品,什么版本?在什么操作系统上?

正在使用是springBlade。  版本2.6.0 在windows操作系统上


四、请提供详细的错误堆栈信息,这很重要。

报错信息如下:

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    zipkin2.server.internal.ZipkinHealthIndicator.(ZipkinHealthIndicator.java:26)

The following method did not exist:

    org.springframework.boot.actuate.health.CompositeHealthIndicator.(Lorg/springframework/boot/actuate/health/HealthAggregator;)V

The method's class, org.springframework.boot.actuate.health.CompositeHealthIndicator, is available from the following locations:

    jar:file:/G:/wangxiaofei/m2/repository/org/springframework/boot/spring-boot-actuator/2.2.2.RELEASE/spring-boot-actuator-2.2.2.RELEASE.jar!/org/springframework/boot/actuate/health/CompositeHealthIndicator.class

It was loaded from the following location:

    file:/G:/wangxiaofei/m2/repository/org/springframework/boot/spring-boot-actuator/2.2.2.RELEASE/spring-boot-actuator-2.2.2.RELEASE.jar


Action:

Correct the classpath of your application so that it contains a single, compatible version of org.springframework.boot.actuate.health.CompositeHealthIndicator

Disconnected from the target VM, address: '127.0.0.1:59633', transport: 'socket'

Process finished with exit code 1


五、若有更多详细信息,请在下面提供。



1条回答
  • 2020-01-09 13:46

    这问题已记录

    0 讨论(0)
提交回复