![]() |
VOOZH | about |
Spring Boot simplifies Java application development by reducing configuration and setup time. Using Spring Initializr, developers can quickly generate a ready-to-use project structure and run it in an IDE like IntelliJ IDEA.
Before starting, ensure you have:
- Java (JDK 8 or above) installed
- IntelliJ IDEA installed
- Internet connection to access Spring Initializr
Spring Initializr is a web-based tool that helps you generate a Spring Boot project structure with predefined configurations and dependencies. It allows you to customize your project based on requirements like language, build tool, and Spring Boot version.
Follow below Steps to create spring boot application
Fill in the required details:
Note: In the Import Project for Maven window, make sure you choose the same version of JDK which you selected while creating the project.
We need to change the port number using the application.properties file in the project structure of the spring application.
application.properties:
server.port=7000
Terminal output:
👁 ImageTomcat is running on server 7000.