The world of microservices is still relatively new and evolving continuously. All of the examples in this chapter have been tested with the following versions. If you have problems, we recommend trying these versions:
- Spring Boot: 2.1.1. release
- Spring Cloud: Greenwich.RC2
The following snippet illustrates these details in pom.xml:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.1.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.RC2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>