Bootstrapping the application
To get started, let’s create a simple Spring Boot application. There are several ways to do this. You can always use the Spring starter application at https://start.spring.io to create this application. Here, we will make use of the Spring CLI to bootstrap the application.
Important Note
To install the Spring CLI for your platform, please refer to the detailed instructions at https://docs.spring.io/spring-boot/docs/current/reference/html/getting-started.html#getting-started.installing.
To bootstrap the application, use the following command:
This should create a file named lc-issuance-api.zip
in the current directory. Unzip this file to a location of your choice and add a dependency on Axon Framework in the dependencies
section of the pom.xml
file:
- You may need to change the version. We are at version 4.5.3 at the time of writing this book.
Also, add the following dependency...