Maven repository Could not find artifact can't find jar package

I recently changed to a new computer, the original environment is gone, and I have to reconfigure it again

But when running the project package with IDEA, I found that some jar packages could not be found

Then manually get it from the original warehouse, and then pack it, it still doesn’t work

Checked the configuration, it is indeed equipped with a lot of domestic mirrors, but it just can’t be downloaded

Then look up the information and find out that it is the pot of mirrorOf. The mirrorOf in Maven is used to specify the mirror warehouse. When the local warehouse does not have the required dependencies, Maven will download the dependencies from the specified mirror warehouse.

It cannot be set to *, otherwise the first image cannot be found and the next one will not be found

Guess you like

Origin blog.csdn.net/weixin_42559574/article/details/126351417