Spring boot starter parent not found
Spring boot starter parent not found dependency :
Recently i faced this issue in intellij when creating a new java application where build is failing and when i check pom file it says : "Spring boot starter parent not found"
Error 'Spring boot starter parent not found'
But with the similar configuration i have other projects gets built without any issues, i tried multiple things as below to fix this issue :
- Did a File --> Invalidate Cache and Restart
- Did a Maven clean and install
- Verified Intellij --> Settings --> Build -- Build tools --> Maven --> Work offline should be unchecked
After trying the above options still the issue persists, Then after some research i did the below and the issue got rectified.Sharing it here so that it will help others.
- Click on Intellij --> Settings --> Build -- Build tools --> Maven and then check following things :
- use settings from .mvn/maven.config
- User settings file : Make sure you have the right file here
- Local repository : You should have the .m2 repository folder here
Comments
Post a Comment