最近怎么導包都出錯,換成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
uj5u.com熱心網友回復:
uj5u.com熱心網友回復:

目前這個情況了 各位大佬求解
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/274282.html
標籤:Java相關
下一篇:Maven打包出現這個
