zipkin启动报错(Caused by: java.lang.ClassNotFoundException: zipkin.Component)的解决方法

使用ziplin依赖: 

        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-sleuth-zipkin</artifactId>
        </dependency>

应用启动报错:Caused by: java.lang.ClassNotFoundException: zipkin.Component

解决方法:指定更高版本的spring cloud

	<dependencyManagement>
		<dependencies>
			<!--org.springframework.cloud-->
			<dependency>
				<groupId>org.springframework.cloud</groupId>
				<artifactId>spring-cloud-dependencies</artifactId>
				<version>Edgware.SR3</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>
原文地址:https://www.cnblogs.com/xujanus/p/9520443.html