This is a demo project to test how global exception handling work in an example Spring Boot project.
- JDK 17+ (How to install OpenJDK 17 on Ubuntu)
- Maven (or you can use
mvnw
provided in the project)
First, clone this repository.
Then, build it locally with:
mvn clean install
Finally, you can run the application with:
mvn spring-boot:run
You'll find the Postman collection with example requests in the postman directory. The examples contain both correct and incorrect requests to help you work with this project.
Some examples: