Starting Spring Boot Application

First I will create the Maven Java Application using Netbean IDE.

Under the Project Files, you can see pom.xml file where you can add the project dependencies and and parent tag.

So your final pom.xml should be like this

Next, you can create the class and add the following code to it

Annotaion @SpringBootApplication tells to Spring that this is a Spring Boot application

Now you can build the application and run it

When you look at the console log of the Netbeans IDE you can see the Tomcat started on port(s): 8080 (http). This means we have build the stand alone application and we did not deploy it to Tomcat webserver.
So you can open this URL http://localhost:8080/ in your browser