无法在IntelliJ Idea 2016.1.1中导入maven项目

Gar*_*pta 19 java import intellij-idea maven

我正在尝试使用以下方法导入IntelliJ Idea 2016.1.1中的项目:File-> Project from existing sources->选择所需的pom.xml

它出现在这个对话框中,但点击下一个按钮没有任何反应.

它出现在这个对话框中,但点击下一个按钮没有任何反应.

Ben*_*ers 11

我有同样的问题,但设法通过更新我的/ etc/hosts文件来解决它,这样localhost只有一个条目

# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost
# 192.xxx.xxx.xxx localhost <-comment out this
255.255.255.255 broadcasthost
#::1             localhost <- comment out this
Run Code Online (Sandbox Code Playgroud)


Dmi*_*nko 9

在我的情况下,通过设置JDKin IntelliJ IDEA设置解决了这个问题.像这样:

设置

在选择正确的JDK之前,我在此字段中有红色文本.