Failed to import maven project into Intellij Idea: search for available profile

I installed the maven home directory, user settings file and local repo in Idea.

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

Is my setup wrong? How to import maven project into IDEA? thanks a lot!

+4
source share
1 answer

I had the same problem. The solution was to edit the /etc/hosts and add to the first line:

 127.0.0.1 localhost localhost 

See also:

Failed to import Maven project into IntelliJ IDEA

+7
source

Source: https://habr.com/ru/post/1485012/


All Articles