“Hello World” using https://start.spring.io/

--

Open https://start.spring.io/ and create as per screenshot with add Spring Web dependencies and click on Generate to download .zip files

Step-1

Open https://start.spring.io/ and create as per screenshot with add Spring Web dependencies and click on Generate to download .zip files for next step. Please, extracted before go to Step-2.

Figure 1: An interface to configuration online Spring Boot project

Step-2

Open IDE, click on File > Open Project from Files System > Click on Directory that already download and extracted on Step-1 and Click on finish.

Figure 2: Check Pre-Configuration for Spring Starter Project

Step-3

Modify in the following code into HelloWorld3Application.java.

Figure 3: Modify the code in Master files

Step-4

Right click on Project and Click on Show In > Terminal

Figure 4: Terminal windows to write commands from IDE

Type following commands mvnw spring-boot:run and wait for full installation and configuration.

Figure 5 Type the commands to execute Spring Project

Step-5

You will get the response like as Started SpringHello3Application in 0.00 seconds and then open any browser and type http://localhost:8080/hello in URL.

Figure 6: View the output in Browser Window
Figure 7: View the output in Browser Window with ?

Let us know what you think

Please give us feedback on this manual, so we can provide content that’s truly useful and helpful. Thanks!

--

--