Could not transfer artifact XXXX from/to maven-default-http-blocker (http://0.0.0.0/)

多模块项目,打包时,报的错误信息:
Could not transfer artifact XXXX 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), nexus (http://nexus.hepengju.cn:8081/nexus/content/groups/public/, default, releases+snapshots)]

解决方案:删除子模块(module)中所有<parent>标签中的<relativePath/>标签
<relativePath/> 默认表示将始终从父级仓库中获取,不从本地路径获取

上一篇:Http协议


下一篇:servlet对象