Issue
Why is my build.gradle.kts file looking like this? This is a fresh Spring Boot project generated with start.spring.io. I already tried invalidate caches / restart, rebuild, resyncing and nothing works. Thanks in advance!
Solution
This is what solved it:
- Delete ~/.gradle/caches
- Uninstall and Delete ~/Library/Application\ Support/Library/JetBrains/IntelliJIdea
- Delete <project dir>/.gradle
- Delete <project dir>/.idea
- Start IDEA and reimport the project.
Answered By - André Ramon
Answer Checked By - Mary Flores (JavaFixing Volunteer)