Project ‘org.springframework.boot:spring-boot-starter-parent:2.4.0’ not found

We Are Going To Discuss About Project ‘org.springframework.boot:spring-boot-starter-parent:2.4.0’ not found. So lets Start this Java Article.

Project ‘org.springframework.boot:spring-boot-starter-parent:2.4.0’ not found

Advertisements
  1. Project 'org.springframework.boot:spring-boot-starter-parent:2.4.0' not found

    I just ran into a similar problem. I'm using IntelliJ IDEA Ultimate 2020.2. The version number 2.4.0 was red and the message was the same as yours.
    Selecting File -> Invalidate Caches / Restart… and choosing the Invalidate and Restart option fixed the issue. I guess it was just a stale cache.

  2. Project 'org.springframework.boot:spring-boot-starter-parent:2.4.0' not found

    I just ran into a similar problem. I'm using IntelliJ IDEA Ultimate 2020.2. The version number 2.4.0 was red and the message was the same as yours.
    Selecting File -> Invalidate Caches / Restart… and choosing the Invalidate and Restart option fixed the issue. I guess it was just a stale cache.

Solution 1

Advertisements

I just ran into a similar problem. I’m using IntelliJ IDEA Ultimate 2020.2. The version number 2.4.0 was red and the message was the same as yours.

Selecting File -> Invalidate Caches / Restart… and choosing the Invalidate and Restart option fixed the issue. I guess it was just a stale cache.

Original Author Of This Content

Solution 2

Advertisements

Spring Boot’s starter parent pom certainly does exist in Maven Central.

I copied your pom.xml and ran mvn test using Maven 3.6.3. All required libraries, including the parent pom were downloaded just fine. You will probably want to look at your ~/.m2/settings.xml file to see if any proxies are active that are preventing you from connecting to Maven Central.

Original Author Of This Content

Solution 3

Advertisements

What worked for me was re-building and remote caches and then local caches. Here’re the steps I followed (on Mac, please translate to your target environment):

  1. Goto Preferences Menu: ie: IntelliJ IDEA > Preferences
  2. Under Build Tools: ie: “Build, Execution, Deployment” > Build Tools
  3. Select Repositories: ie: Maven > Repositories
  4. Notice the Remote and Local repositories, and the Update button
  5. Select Each repository and click Update. This will take a while depending on your internet speed, but it will do a complete check of the broken downloads and stale Maven caches

Original Author Of This Content

Solution 4

Advertisements

Just reload your Maven project in the IDE. It will work.

Original Author Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

Siddharth

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment