Set up a maven web project in Intellij with Spring and JPA - Part One

Hello everyone, in this article i will you how to setup a web application with maven integration in Intellij.
I'm planning to make it a mutli-part tutorial on how to configure maven with spring and jpa. This is the first part in the tutorial, more coming soon.



  1. Open your Intellij, navigate to file -> new project and create a project from scratch -> next


  2. Name the application MavenWebapp or a name that you want to use, select maven module and hit next
  3. Leave the next screen as-is and press finish
  4. You should now have the following folder structure
  5. Now that we have our maven project set up let's add the web component to it. Right click on the MavenWebapp module and select add Framework support. Check the webapplication checkbox and your desired version, also check create web.xml -> click ok.

This is the end of this tutorial, we now have a basic Maven web application! More coming soon including Spring and JPA integration.


More about this tutorial series can be found here:
Set up a maven web project in Intellij with Spring and JPA - Part Two (Maven setup)
Set up a maven web project in Intellij with Spring and JPA - Part Three (ORM mapping)
Set up a maven web project in Intellij with Spring and JPA - Part Four (Spring Configuration)
Set up a maven web project in Intellij with Spring and JPA - Part Five (DAO)
Set up a maven web project in Intellij with Spring and JPA - Part Six (Configuring Spring MVC)
Set up a maven web project in Intellij with Spring and JPA - Part Seven (Implementing Spring MVC)