最近maven新建项目导包出错

weixin_45545224 2021-04-09 10:39:42
最近怎么导包都出错,换成idea自带maven就可以,我自己的maven就不行,执行clean命令就如下错误

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.example:demo:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.7.RELEASE from/to mirrorId (http://repo1.maven.org/maven2/): Connect to proxy.host.net:80 [proxy.host.net/127.0.0.1] failed: Connection refused: connect and 'parent.relativePath' points at wrong local POM @ line 17, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.example:demo:0.0.1-SNAPSHOT (E:\demo\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.example:demo:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.7.RELEASE from/to mirrorId (http://repo1.maven.org/maven2/): Connect to proxy.host.net:80 [proxy.host.net/127.0.0.1] failed: Connection refused: connect and 'parent.relativePath' points at wrong local POM @ line 17, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
...全文
471 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
老王就是我 2021-04-15
  • 打赏
  • 举报
回复
根据报错信息中的proxyxxxx,搜setting.xml里面的内容,看是不是写错了
weixin_45545224 2021-04-10
  • 打赏
  • 举报
回复
目前这个情况了 各位大佬求解
weixin_45545224 2021-04-09
  • 打赏
  • 举报
回复

51,409

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧