Unable to import maven project in IntelliJ14
Below one worked for me ;
Go to File > Settings > Build,Execution,Deployment> Build Tools > Maven > Importing .
Change VM options for importer to -Didea.maven3.use.compat.resolver
Solved. I had to remove the IntelliJ project folder (.idea
) and create a new project from the existing source clicking on the parent pom. Then, everything worked properly.
I guess that some file was corrupted.
In steps. Initially you have something like:
After deleting the .idea folder you will have:
So you close the project and start one from existing sources:
You select the pom.xml file to create the new project and oveeride the IntelliJ project if one was found.
Now you should see exactly the same as in the first picture.