一、该问题的重现步骤是什么?
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
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端