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