While we can use IntelliJ IDEA to create a new project, in most cases you will already have an existing project in your filesystem. In the latter scenario, you will want to import this project.
As IntelliJ IDEA needs a Java environment to run, let us first ensure that the Java environment is set up on our system:
Ensure that JDK is installed.
Download IntelliJ IDEA by visiting https://www.jetbrains.com/idea/ and clicking on the Download link.
Ensure the project SDK is set to your Java installation.
To import an existing Maven project in IntelliJ IDEA, perform the following steps:
You are done! The existing Maven project is now imported to IntelliJ IDEA.