[Bug0058] maven报错maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories

question

IntelliJ IDEA 2021.3 + maven3.8.5 update dependency error

maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories

Scenes

IntelliJ IDEA 2021.3 + maven3.8.5 update dependency error

reason

solution

Modify the image in the settings.xml configuration file

Comment out the following paragraph

<mirror>
      <id>maven-default-http-blockerid>
      <mirrorOf>external:http:*mirrorOf>
      <name>Pseudo repository to mirror external repositories initially using HTTP.name>
      <url>http://0.0.0.0/url>
      <blocked>trueblocked>
    <mirror>

If you comment out this section, you will not be prompted.

Maven reported an error maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories solution

Guess you like

Origin blog.csdn.net/qq_44138925/article/details/128843192