当我试图在我的spring引导应用程序中运行unitTest时,我会得到这个错误。java.lang.NullPointerException: null
at org.springframework.cloud.sleuth.Span.baggageItems(Span.java:<spring-cloud.version>Dalston.RELEASE</spring-cloud.version>
due to following reasons:
- Spring Boot [2.6.0] is not compatible with this SpringCloud release trainIf you want to learn more about the SpringCloud Release train compatibility, you can visit this page[https://spring.io/projects
我有一个运行代码,其中spring boot和springcloud使用sleuth来记录TraceId。但是,我在integrationTest中从一个控制器调用另一个控制器时遇到了问题 public RestTemplatemockMvc;
@Value("http://localhost:${local.server.port:${server.port:8