Unable to import Maven project into IntelliJ IDEA

前端 未结 12 956
春和景丽
春和景丽 2020-12-01 07:41

I\'m having problems importing any Maven projects into IntelliJ IDEA. I create an empty Maven project like this:

$ mvn archetype:generate -DgroupId=com.mycom         


        
12条回答
  •  醉话见心
    2020-12-01 08:34

    I faced the same problem. Sorry, none of the above suggestions worked for me. In fact when I launch the gradle project from IntelliJ, I got error as "Connection refused: connect" in the event log. I tried various options like setting -Djava.net.preferIPv4Addresses=true, windows hot fix, installing ISA Client, Restarting machine, switched java lang level, disabled firewall. Nothing helped.

    Finally giving the proxy information in the IntelliJ Idea does the trick for me.

    enter image description here

    Give the same proxy information as in your internet properties for IntelliJ proxy settings. enter image description here

提交回复
热议问题