1、报错信息如下

org.projectlombok:lombok:pom:unknown failed to transfer from http://0.0.0.0/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-default-http-blocker has elapsed or updates are forced. Original error: Could not transfer artifact org.projectlombok:lombok:pom:unknown from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [alimaven (http://maven.aliyun.com/nexus/content/groups/public/, default, releases+snapshots)]

Since Maven 3.8.1 http repositories are blocked.

Possible solutions:
- Check that Maven settings.xml does not contain http repositories
- Check that Maven pom files do not contain http repository http://maven.aliyun.com/nexus/content/groups/public/
- Add a mirror(s) for http://maven.aliyun.com/nexus/content/groups/public/ that allows http url in the Maven settings.xml
- Downgrade Maven to version 3.8.1 or earlier in settings

解决方案:在maven的settings文件下面的mirrors标签中把之前的阿里云地址去掉,改为如下(复制粘贴即可)

<mirror>
		  <id>aliyunmaven</id>
		  <mirrorOf>*</mirrorOf>
		  <name>阿里云公共仓库</name>
		  <url>https://maven.aliyun.com/repository/public</url>
	  </mirror>
Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐