我有基于
的基本的spring boot / cloud应用程序<spring-boot.version>1.5.17.RELEASE</spring-boot.version>
<spring-cloud.version>Camden.SR7</spring-cloud.version>
但是我需要至少具有1.3.x的spring-cloud-sleuth-zipkin。 通过导入1.3.5.RELEASE,我得到一个奇怪的错误。 似乎相同的依赖关系会产生收敛。
很容易喝吗?
[WARNING]
Dependency convergence error for io.zipkin.zipkin2:zipkin:2.7.1 paths to dependency are:
+-my-fancy-service:0.0.1-SNAPSHOT
+-org.springframework.cloud:spring-cloud-sleuth-zipkin:1.3.5.RELEASE
+-io.zipkin.zipkin2:zipkin:2.7.1
and
+-my-fancy-service:0.0.1-SNAPSHOT
+-org.springframework.cloud:spring-cloud-sleuth-zipkin:1.3.5.RELEASE
+-io.zipkin.reporter2:zipkin-reporter:2.5.0
+-io.zipkin.zipkin2:zipkin:2.6.1
and
+-my-fancy-service:0.0.1-SNAPSHOT
+-org.springframework.cloud:spring-cloud-sleuth-zipkin:1.3.5.RELEASE
+-io.zipkin.reporter2:zipkin-sender-kafka11:2.5.0
+-io.zipkin.zipkin2:zipkin:2.6.1
and
+-my-fancy-service:0.0.1-SNAPSHOT
+-org.springframework.cloud:spring-cloud-sleuth-zipkin:1.3.5.RELEASE
+-io.zipkin.reporter2:zipkin-sender-amqp-client:2.5.0
+-io.zipkin.zipkin2:zipkin:2.6.1
答案 0 :(得分:0)
为io.zipkin.zipkin2:zipkin:2.7.1添加dependencyManagement条目
答案 1 :(得分:0)
对于我或发现此线程的任何人: 通过从Camden升级到包含1.3.5的Edgware(并解决了该开关周围的所有问题)来解决了该问题。