Javatpoint Logo
Javatpoint Logo

Creating a Spring Boot Project

Following are the steps to create a simple Spring Boot Project.

Step 1: Open the Spring initializr

Step 2: Provide the Group and Artifact name. We have provided Group name com.javatpoint and Artifact spring-boot-example.

Step 3: Now click on the Generate button.

Creating Spring Boot Project

When we click on the Generate button, it starts packing the project in a .rar file and downloads the project.

Step 4: Extract the RAR file.

Step 5: Import the folder.

File -> Import -> Existing Maven Project -> Next -> Browse -> Select the project -> Finish

It takes some time to import the project. When the project imports successfully, we can see the project directory in the Package Explorer. The following image shows the project directory:

Creating Spring Boot Project


Step 6: Run the file.

Right-click on the file -> Run As -> Java Applications

Creating Spring Boot Project

The following image shows the application runs successfully.

Creating Spring Boot Project

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA