How do I run Spring Web application in IntelliJ?

How do I run Spring Web application in IntelliJ?

To Create and execute SpringBoot Application as Maven project in IntelliJ follow these steps

Create and set up Spring Boot project. Add the spring-web dependency in your pom.xml file. Create one package and name the package as “controller” Run the Spring Boot application more details are here

How to Run Spring Boot Application? - GeeksforGeeks"