Creating a Maven project in IntelliJ Ultimate Edition

  1. Creating a Maven project in Intellij

2. Adding jakarta.servlet https://mvnrepository.com/artifact/jakarta.servlet/jakarta.servlet-api

3. Reload the project

4. Add Source directory

5. Selecting the Source directory

6. Configuring Tomcat Server

7. Choosing a local server

8. Choosing a deployment process

9. Result after the election

10. Build and launch the project