'Intellij is erroring when reading my build.gradle.kts file
The red notification bar at the top says: /org/gradle/tooling/BuildException (java.lang.NoClassDefFoundError: /org/gradle/tooling/BuildException. I can run a gradle refresh successfully, I can run the project successfully, but I cannot get that error to go away. I think my project is actually running fine, intellij just can't properly interpret the build.gradle.kts file for whatever reason. Does anybody know what to do? I included an image. Clicking on the red bar does nothing. I can find no more information about the error message anywhere. I'm running the latest intellij EDU.
Solution 1:[1]
Looks like https://youtrack.jetbrains.com/issue/KTIJ-20903. Try to update your gradle version.
Solution 2:[2]
just delete .idea folder and restart IntelliJ.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | vanyochek |
| Solution 2 | Luxus io |

