刚开始以为是版本不兼容,后来发现是因为配置没对,需要加 sender: type: webyaml格式如下:spring: application: name: xxx zipkin: base-url: http://localhost:9411/ sender: type: web sleuth: sampler: probability: 1