6

I have set maven home directory , User setting file and local repo in Idea.

Then I import a maven project ,it starts to scan mavne projects, looking for available profiles. and I can see the Progress bar. but it takes a long time and back to the first step again.

Is my setting wrong ? how to import a maven project into IDEA? thanks a lot !

4

1 回答 1

12

我有同样的问题。解决方案是编辑/etc/hosts文件并在第一行添加:

127.0.0.1 localhost localhost

也可以看看:

无法将 Maven 项目导入 IntelliJ IDEA

于 2014-03-05T15:25:46.697 回答