Issue
I'm new to Spring Boot.
I was adding new dependency to the build.gradle.kts file (mockk). And after synchronizing build.gradle.kts, all spring framework related dependencies lost.
What i did so far:
- I did File/Invalidate caches and restart
- Clean Gradle and build
- Removed (mockk) dependencies from build.gradle.kts
But no fixing. How can I find spring libraries
Solution
I fixed it by downgrading spring framework boot version from 2.5.0-SNAPSHOT to 2.4.4 then sync it and all libraries downloaded. After I again upgraded its version to 2.5.0-SNAPSHOT and again it downloaded all the libraries. I don't know what problem it was. Is it from Gradle or IntelliJ Idea
Answered By - Raheem