We will use the Java 9 to develop microservices. Therefore, we'll use the latest Spring Framework and Spring Boot project. At the time of writing, Spring Boot 2.0.0 build snapshot release version was available.
You can use the latest released version. Spring Boot 2.0.0 build snapshot uses Spring 5 (5.0.0 build snapshot release).
Let's take a look at the following steps and learn about adding Spring Boot to our main project:
- Open the pom.xml file (available under 6392_chapter2 | Project Files) to add Spring Boot to your sample project:
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ...