How to create spring maven project in intellij IDEA

intellij-idea, java, maven, spring

Solution

Go to https://start.spring.io and let the Initializr generate a Maven project for you with the desired dependencies.

You will get a zip file which you can then unpack in your dev folder.

Then open Intellij and select File | New | Project from Existing Sources. (Or Import Project from the welcome screen).

Select your unzipped folder, and then follow the wizard, selecting Maven when you are prompted to.

See here: https://www.jetbrains.com/help/idea/2016.2/importing-project-from-maven-model.html

Problem

I'm trying to create spring + maven project in IntelliJ IDEA. I've read these official wiki, but when I finish steps, there is no maven in my project. I've tried to add it with my hands, but it seems, that I have hands not so good enough :(, because maven dependencies, lib folder and classes, that I want to use live their own lives (dependencies aren't in lib folder and I try to type classes from dependencies, there is no auto-complete). Does anyone has step-by-step guide or link?

Original source