Can't import the maven project in IntelliJ Idea 2016.1.1

后端 未结 11 894
无人共我
无人共我 2021-01-01 14:52

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

11条回答
  •  不知归路
    2021-01-01 15:26

    I have had similar issue on my spare computer, the problem appears when creating/importing Maven project. It seems for some reason it has lost the access to java SDK and it was not there, even thus I tried to re-importing it. I tried to select java SDK again with out luck. I ended up with following solution:

    1. Uninstalling IntelliJ (2016.2.4)
    2. Reinstalling Java JDK latest 1.8, restart the system
    3. Installing latest IntelliJ (2016.2.5)
    4. First time I started IntelliJ, and when creating first time new project, ensure selecting the correct SDK path (see image)
    5. Now you should be able to (click on next) creating/importing new Maven project.

    The other answers did not helped me much.

提交回复
热议问题