background

In the study of “In-depth learning Spring from 0”, the author used IDEA to create SpringBoot to learn, thought everything was going well, JDK installed, Maven is also configured, IDEA plug-in module also included Spring, SpringBoot, etc. I mean, everything’s ready to go!

As a result, the following problems occur during the creation:

The problem is described as follows:

Initialization failed for ‘start.spring.io’ Please check URL, network and proxy settings.

Error message: Cannot download ‘start.spring.io’: connect timed out , response: 200 null

IO failed to initialize by calling ‘start.spring. IO ‘, failed because connection timed out, return 200 and NULL, please check URL, network and proxy Settings.

The solution

Plan a

Try again. It’s probably a temporary network failure. The easiest is to try “start.spring. IO” in a browser. Then re-create it. If it worked, it solved the problem. If it didn’t, try method two.

Scheme 2

Go to IDEA, click File -> Setting, and search for HTTP Proxy.

You can see that HTTP Proxy is set to No Proxy.

  • Select theAuto-detect proxy settings.
  • Click on the bottom oneCheck connection, the following input box is displayed:

  • Enter the address start.spring. IO and click OK.
  • If a dialog box is displayedConnection successful, the connection is successful. Click OK to save the Settings.

  • Create the SpringBoot project again. The page for creating the SpringBoot project is displayed.

Problem solved, get back to learning the Spring Framework!

This article is part of the “Gold Nuggets For Free!” Event, click to view details of the event