我有一个克隆项目的问题:
无法从中心(https://repo.maven.apache.org/maven2)传输项目org.springframework.boot:spring-boot-maven-plugin:pom:2.1.7.RELEASE,也无法将其传输到中心(https://repo.maven.apache.org/maven2):https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-maven-plugin/2.1.7.RELEASE/spring-boot-maven-plugin-2.1.7.RELEASE.pom传输失败
当我试图在IntelliJ中干净地构建我的maven项目时,就会出现这种情况
发布于 2021-08-05 09:01:47
听起来你的settings.xml中没有代理服务器。有关如何设置它的详细信息,请查看here。
<proxies>
<proxy>
<id>example-proxy</id>
<active>true</active>
<protocol>http</protocol>
<host>proxy.example.com</host>
<port>8080</port>
<username>proxyuser</username>
<password>somepassword</password>
<nonProxyHosts>www.google.com|*.example.com</nonProxyHosts>
</proxy>
</proxies>您应该能够从您的浏览器设置中获取代理详细信息。
https://stackoverflow.com/questions/68663095
复制相似问题