无法将maven项目导入Intellij Idea:寻找可用的个人资料 [英] unable to import maven project into Intellij Idea :looking for available profile
本文介绍了无法将maven项目导入Intellij Idea:寻找可用的个人资料的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Idea中设置了maven主目录,用户设置文件和本地存储库。
I have set maven home directory , User setting file and local repo in Idea.
然后我导入一个maven项目,它开始扫描mavne项目,寻找可用的配置文件。我可以看到进度条。但它需要很长时间才能再次回到第一步。
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.
我的设置错了吗?如何将maven项目导入IDEA?非常感谢!
Is my setting wrong ? how to import a maven project into IDEA? thanks a lot !
推荐答案
我遇到了同样的问题。解决方案是编辑 / etc / hosts
文件并在第一行添加:
I had the same Problem. The solution was to edit the /etc/hosts
file and add at the first line:
127.0.0.1 localhost localhost
参见:
这篇关于无法将maven项目导入Intellij Idea:寻找可用的个人资料的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文