Generate a SpringBoot Project

For this tutorial, we are going to create a Spring Boot - JAR project using the Spring Initializr website.

  1. Go to the Spring Initializr website. catalyst_tutorials_leadmanager_appsail_springboot_homescreen

  2. Choose or Enter the required details in the following manner:

    • Select Maven as Project, Java as Language, and 3.4.1 as the Spring Boot version.
    • Enter “com.catalyst.appsail” as the Group, “leadmanger” as the Artifact, and provide a suitable description. The Name, and Package name fields will be automatically populated.
    • Select Jar as the Packaging, and 17 as the Java version. catalyst_tutorials_leadmanager_appsail_springboot_populate_feilds
  3. Click the ADD DEPENDENCIES button, on the right side of the screen, and select Sping Web in the drop-down and select the dependency. This step will install all the necessary dependencies required to build a Spring Boot web application when you generate the package. catalyst_tutorials_leadmanager_appsail_springboot_spring_web_sel

  4. Confirm all your selections, and click Generate. catalyst_tutorials_leadmanger_appsail_spriongboot_generate_hihlit

The leadmanager Spring Boot project will be downloaded to your local system as a zip file.

Unzip the downloaded file and this directory, leadmanager/ will be our local directory where we initialize the Catalyst AppSail service for our project.

Along with all the required dependencies, it will also contain the LeadManagerApplication.java file. This file will contain the logic that allows you to run the application on Spring Boot.

The leadmanager/ Spring Boot - JAR directory will look like this: catalyst_tutorials_leadmanager_appsail_springboot_pre_init

Info: This tutorial has created a Spring Boot project to demonstrate building a Spring Boot - JAR project, and deploying it as an AppSail service. You can learn how to do the same with Spring Boot - WAR projects from this help documentation.

For more information on how to create a Spring Boot project, you can visit their official help documentation.

Last Updated 2025-01-31 19:19:27 +0530 +0530