Main Tutorials

IntelliJ IDEA – Cannot connect to the Maven process

In the IntelliJ IDEA, clicks on the download sources, and it shows the error Cannot connect to the Maven process.

Terminal

Cannot connect to the Maven process. Try again later.
  If the problem persists, check the Maven Importing JDK settings and restart IntelliJ IDEA

Tested with


  IntelliJ IDEA 2022.2.1 (Community Edition)
  Build #IC-222.3739.54, built on August 16, 2022

Solution

To fix it, we switch from the default "Bundled Maven 3" option to the manually installed Maven path.

In IntelliJ IDEA, click Preferences, Build Tools -> Maven

Bundled Maven 3

Change to other Maven installed path.

maven installation

References

About Author

author image
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

Subscribe
Notify of
5 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Mike
1 year ago

This does not fix it.

Zhang's
1 year ago

Still not work, after OS wake up, IntelliJ IDEA 2022.3 (Community Edition).

haichao
1 year ago
Reply to  Zhang's

did you find the way to solve the proplem?

haichao
1 year ago
Reply to  Zhang's

me too

Tavi
11 months ago

This does not fix the issue. But what fixes the issue is what intellij suggest. Restart.

Last edited 11 months ago by Tavi