Creating a Maven project in IntelliJ Ultimate Edition
- Creating a Maven project in Intellij

2. Adding jakarta.servlet https://mvnrepository.com/artifact/jakarta.servlet/jakarta.servlet-api
.png)
3. Reload the project
.png)
4. Add Source directory
.png)
5. Selecting the Source directory
.png)
6. Configuring Tomcat Server
.png)
7. Choosing a local server
.png)
8. Choosing a deployment process
.png)
9. Result after the election
.png)
10. Build and launch the project