Maven cannot download the dependent jar package problem

1. First check whether there is a problem with the maven coordinates and the version.

2. In the conf file under maven, find the setting.xml file below,
insert image description here

3. View the maven mirror source below,
insert image description here

4. If not, you can modify it to the above Alibaba Cloud image source, and then save it.

5. The key is to check whether the idea uses the default maven or the local maven.
insert image description here

6. Finally, re-refresh maven, and the dependency download is successful.

Guess you like

Origin blog.csdn.net/qq_44872509/article/details/130195223