This guide will help you run the Spring Boot multi-module application using Gradle Kotlin DSL (KTS) and Java 21.
Quick Start from IntelliJ IDEA:
See this
- Java 21 installed
- Gradle installed
- An IDE (e.g., IntelliJ IDEA) or a terminal
-
Clone the Repository
git clone <repository-url> cd <repository-directory>
-
Navigate to the Root Directory
Ensure you are in the root directory of the multi-module project.
-
Build the Project
Use the following command to build the project:
./gradlew build
-
Run the Application
To run the application, use the following command:
./gradlew bootRun
-
Access the Application
Once the application is running, you can access it at
http://localhost:8080
.
-
Clean the Project
./gradlew clean
-
Run Tests
./gradlew test
- Ensure that Java 21 is correctly installed and configured.
- Verify that Gradle is installed and accessible from the terminal.
- Check for any errors in the build process and resolve them as needed.
For more detailed information, refer to the official Spring Boot and Gradle documentation.