Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring Initializr - LSP - Failed to fetch Generation from Spring IO: port out of range: -1

Tags:

spring-boot

I wanted to learn to make REST services, so I was suggested to use Spring Boot. I created a new project in Eclipse, using the Spring Boot Initializr plugin. The dependencies included are: Spring Web, Spring Data JPA, and H2 Database.

After I confirmed the creation of the new project, and Maven downloaded all of the dependencies, this error came up: screenshot

How can I solve this? Is this crucial to get the project working?

like image 458
Haltar Dhrim Avatar asked Sep 12 '25 03:09

Haltar Dhrim


1 Answers

I think it's a small error in this version of Eclipse (I use STS 4.20.1).

It is related to the default proxy settings: Window > Preferences > General > Network Connections. By default, it is configured with 'Native.' If you change it to 'Direct,' the annoying message stops appearing.

I don't use a proxy, so I can leave it like that. If you have a proxy defined in Windows, you should copy the configuration to Eclipse when setting it to 'Direct.'

like image 57
Javier Rodriguez Avatar answered Sep 16 '25 08:09

Javier Rodriguez