How to Verify the Installation?

In this section, we will verify the STS installation by creating a Simple program. So follow the below steps to make the simple application and verify the installation:

Step 1: First, create the New Project by navigating to the File Menu. Select New > Spring Starter Project.

Step 2: A window will open, in which we need to give the Project Name, and select the versions as per our choice.

Step 3: Then we can select the dependencies that are required for our application. For demonstration purposes, we have selected Spring Web, Spring Boot DevTools, and Thymeleaf dependencies.

Step 4: After configuring and clicking on the Finish button, the below directory structure will be created for our application.

Step 5: In the src/main/java folder, we need to create a New package by clicking on New > Package.

Step 6: Once the package gets created, we need to create a New class by clicking right-clicking on the package and selecting New > Class.

Step 7: Once the class gets created, paste the below code in the file which has the simple Hello w3wiki message printed.

Step 8: After entering the code, we need to run the project by right-clicking on the main application file and selecting the option Run As > Spring Boot App.

Step 9: This will start the server on port 8080. You can see the entire logs in the console section.

Step 10: After visiting the URL as “http://localhost:8080/” the message will get printed on the Web Browser.

Installing Spring Tool Suite on Windows

Sprint Tool Suite or STE is one the favorite IDEs for many developers to want to Spring applications. It is an Eclipse-based development suite that comes with various features to run, deploy, and debug the Spring application. Spring Tool Suite also provides more advanced functionalities like code assistance, project templates, and easy integration.

In this article, we will look into the step-by-step process of installing Spring Tool Suite on the Windows Operating System environment.

Prerequisites:

  1. Java Development Kit (JDK)
  2. Windows Operating System
  3. Administrative Privileges
  4. Sufficient System Resources

Similar Reads

1. Installation of Spring Tool Suite on Windows

In this section, we will see the detailed steps to properly install STS on Windows OS without any problem or issue:...

2. How to Verify the Installation?

In this section, we will verify the STS installation by creating a Simple program. So follow the below steps to make the simple application and verify the installation:...

Conclusion

In Conclusion, Spring Tool Suite (STS) has various benefits, such as...

Contact Us