The bean 'traceRestTemplateBeanPostProcessor', defined in class path resource [org/springframework/cloud/sleuth/instrument/web/client/TraceWebClientAutoConfiguration$RestTemplateConfig$TraceInterceptorConfiguration.class], [org/springframework/cloud/sleuth/autoconfig/instrument/web/client/Tr
我正在将一个应用程序从Spring Boot 1.x升级到Spring Boot 2.x。当我尝试运行一个现有的(和之前有效的)单元测试时,我看到了以下输出: ***************************
APPLICATION FAILED TO START
***************************
Description:
The bean 'spring.sleuth.baggage-keys', defined in class path resource [org/springframework/cloud/sleuth/autoconf
当我试图在我的spring引导应用程序中运行unitTest时,我会得到这个错误。
java.lang.NullPointerException: null
at org.springframework.cloud.sleuth.Span.baggageItems(Span.java:381)
at org.springframework.cloud.sleuth.instrument.web.ZipkinHttpSpanInjector.inject(ZipkinHttpSpanInjector.java:27)
at org.springframework.cloud.sleuth.ins