gradle工具build springboot项目一直Run build后time out
1原因是Run build过程需要翻墙访问网站,如果不翻墙就会一直去请求,超过最长响应时间才能停止请求,time out;
2可以设置代理服务器(前提:本机电脑设置翻墙代理服务器,浏览器能访问google)
3idea设置代理服务器
3.1 依次点击file => settings =>搜索 http proxy => 点击左侧菜单栏 http proxy
3.2 选择 Manual proxy configuration(填写相应的代理消息)
3.3 测试idea配置的代理是否生效,点击check connection