Today when using IntelliJ (MacOS) & Spring Boot to create a new project, I started seeing this error:
" Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings
Error Message: Error parsing JSON response "
My home network has no HTTP proxy settings, just plain vanilla Internet. IntelliJ / Preferences / System Settings / HTTP Proxy / Check Network Settings: says network connection is ok. And this same setup worked here 2 days ago.
Browser connection to https://start.spring.io also works.
I tried Googling this issue, but mostly found HTTP Proxy setting issues that I don't have (I am typing this w/o HTTP Proxy settings in browser :-)).
Maybe this is just a transient issue with start.spring.io? or ... ? Anyways confusing.
If your r able to open the same url in your browser then the issue is with the proxy settings
on the IDE
.
In that case, we can define the existing browser proxy settings to the intelliJ as below-
On the IDE, Open --> File -> Settings -> Appearance and Behavior ->System Settings -> HTTP Proxy --> Select Auto-detect proxy settings
and set the Automatic proxy configuration URL
.
Then we can able to connect to spring initializer through intelliJ IDE
try to use 'http://start.spring.io' instead of 'https://start.spring.io'. it works for me.
It looks like Spring Initializr is broken for both IntelliJ IDEA and Spring Tools Suite, I reported this to the initialzr project:
https://github.com/spring-io/initializr/issues/267
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With