异常问题
在IDEA中新建springboot 项目时,提示 以下错误时
Error
Initialization failed for 'https://start.spring.io’Please check URL, network and proxy settings.
Error message:Cannot download ‘https://start.spring.io’: Connectionrefused: getsockopt
解决教程
既然在浏览器中可以正常访问 ‘https://start.spring.io’,但在 IntelliJ IDEA 中出现错误,可能是 IDE 的配置问题。以下是一些可能的解决方法:
-
检查IDE的网络设置:
- 打开 IntelliJ IDEA,进入
File
>Settings
(Windows/Linux)或IntelliJ IDEA
>Preferences
(Mac)。 - 在设置中&
- 打开 IntelliJ IDEA,进入