项目环境:
win7、jdk8
1、添加依赖,添加了spring-cloud-starter-zipkin会自动导入Sleuth
<!--Sleuth,zipkin--><dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-starter-zipkin</artifactId><version>2.1.1.RELEASE</version></dependency><!--end Sleuth,zipkin-->
项目的Spring Cloud的版本如下:
<dependencyManagement><dependencies><!--整合spring cloud--><dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-dependencies</artifactId><version>Greenwich.SR1</version><type>pom</type><scope>import</scope></dependency><!--整合spring cloud alibaba--><dependency><groupId>com.ali