先上cloud和alibaba的版本管理配置
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.SR6</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2.1.2.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
那么他们的版本是如何选择兼容的呢,访问spring cloud alibaba的github主页
加以说明解释:
如果你springboot使用的是2.1.X,那么alibaba使用2.1.2,cloud使用Greenwich.XX版本,以此类推!