Initially, before implementing the domain model's dependencies and configuration, the class needs to be specified. The following Maven starter dependency needs to be included:
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
...
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.197</version>
</dependency>
</dependencies>
The preceding entries will import all the dependencies of the JPA stack, and an embedded H2 database that can be used to store entities.