Choosing the Right Spring Cloud Alibaba Version: Compatibility with Spring Boot & Cloud

This article explains how to select the appropriate Spring Cloud Alibaba version by clarifying its relationship with Spring Boot and Spring Cloud, provides a Maven BOM snippet, a compatibility matrix, and points to a comprehensive tutorial series for building micro‑service applications.

Programmer DD
Programmer DD
Programmer DD
Choosing the Right Spring Cloud Alibaba Version: Compatibility with Spring Boot & Cloud

Why Version Selection Matters

When teaching the Spring Cloud Alibaba series, many readers asked which version to use. The issue is common because Spring Cloud Alibaba is not managed by the main Spring Cloud release train, so its version must be imported separately.

Importing the Correct BOM

Instead of using a Spring Cloud release train (e.g., Dalston, Edgware, Finchley, Greenwich), you need to add the spring-cloud-alibaba-dependencies BOM to your dependencyManagement section:

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.springframework.cloud</groupId>
      <artifactId>spring-cloud-dependencies</artifactId>
      <version>Finchley.SR1</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework.cloud</groupId>
      <artifactId>spring-cloud-alibaba-dependencies</artifactId>
      <version>0.2.1.RELEASE</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

This BOM manages the versions of all Spring Cloud Alibaba components.

Compatibility Between Spring Boot, Spring Cloud, and Spring Cloud Alibaba

The following list shows which versions of Spring Boot, Spring Cloud, and Spring Cloud Alibaba work together:

Spring Boot 2.1.x – Spring Cloud Greenwich – Spring Cloud Alibaba 0.2.2 (not yet released)

Spring Boot 2.0.x – Spring Cloud Finchley – Spring Cloud Alibaba 0.2.1

Spring Boot 1.5.x – Spring Cloud Edgware – Spring Cloud Alibaba 0.1.1

Spring Boot 1.5.x – Spring Cloud Dalston – Spring Cloud Alibaba 0.1.1

If you follow the tutorials on Spring Boot, Spring Cloud, or the Spring Cloud Alibaba series and encounter build or runtime issues, verify that your versions match the matrix above.

Recommended Spring Cloud Alibaba Tutorial Series

Using Nacos for service registration and discovery

Supported service consumption patterns

Using Nacos as a configuration center

Detailed rules for Nacos configuration loading

Multi‑environment management with Nacos

Multi‑file loading and shared configuration in Nacos

Nacos data persistence

Nacos cluster deployment

The source code for the series is available on:

GitHub: https://github.com/dyc87112/SpringCloud-Learning/

Gitee: https://gitee.com/didispace/SpringCloud-Learning/

Please star, follow, bookmark, or share the repository if you find it useful.
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

MicroservicesmavenSpring BootVersion Compatibility
Programmer DD
Written by

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.