I am trying to import a project in IntelliJ Idea 2016.1.1 using: File->Project from existing sources->choose the required pom.xml
It comes to this dialog bo
I had this issue today and it took me 2 hours to identify and fix it. I tried to import the project from perforce workspace which had '/' in the workspace name (ABC/lighting_workspace).
When I created another perforce workspace without '/' in the name (lighting_workspace), I was able to import the existing project :)
I ran into this and at first it seemed due to the use of a tilde ~
in the file path of the root of the project. It also seemed to go "flaky" if you try to use a ~
.
More investigation lead to: /home/user/.IdeaIC15/system/log (might be a bit different for other systems)
Do
tail -100f idea.log
in a terminal in that directory and see what you get when you click "next"
Mine was missing / corrupt java7 instance
All this is pertaining to Linux only.
Had exactly the same issue, in my case it was a memory problem: the importer needed more memory than the one allowed by the VM's limit set by default after the installation of IntelliJ: I had 768 mb set by default and i moved them to 2048 mb.
You can set this under : Preferences |-> Build, Execution, Deployment |-> Build Tools |-> Maven |-> Importing |-> VM options for importer
C:\Program Files\Java\jdk-10.0.2
.In my case, this problem was solved by setting the JDK
in IntelliJ IDEA
settings. Like this:
Before selection correct JDK, I had the red text in this field.