Intellij Idea Maven 'cannot reconnect' error

后端 未结 3 918
孤城傲影
孤城傲影 2021-01-04 01:21

Maybe you can help me I got a strange apache maven\'s problem, when opening my project at Intellij Idea 13. When projects was open I have no libraries at External Libraries

相关标签:
3条回答
  • 2021-01-04 01:43

    Delete the entire .m2/repository folder manually, and then update your Maven project again.

    0 讨论(0)
  • 2021-01-04 01:45

    I was facing the same error and I have fixed it by; IntelliJ -> Setting-> Build, Execution, Deployment ->Build Tool->Maven ->Importing->in this view check the JDK Importer and change the exact version of JDK (example : 1.8.0.250) installed on your machine from the drop-down.

    After doing the same it prompts for verification and after that, the maven will be automatically updated and the project will run.

    In my case, I did the same thing as the JDK which is used in the machine is different when the project is imported from a repository. These things happen when we uninstall the IDE and JDK and install the IDE and different version of JDK, The IDE automatically fetch the project which is available in the machine as before but it can not change the imported JDK.

    0 讨论(0)
  • 2021-01-04 01:47

    I fixed this by changing my local Maven 3.3.9 to Idea Bundle Maven3.

    0 讨论(0)
提交回复
热议问题