NoClassDefFoundError: org/jetbrains/plugins/gradle/tooling/ModelBuilderService

Viewed 2682

How can I fix this error? It appears when I run the project in Intellij IDEA with GRADLE 6.7 version.

3 Answers

It's a known issue caused by the incompatible Kotlin plug-in update. The issue is already fixed. The solution is to either update Kotlin plug-in again to get the version compatible with IntelliJ IDEA 2020.3 release or update IntelliJ IDEA to 2020.3.1 version.

In my case I just needed to disable kotlin. if you dont need kotlin at the moment you can disbale it in idea. just got to Plugins>Installed->Kotlin then disable for all projects.

All I need was just to upgrade IntelliJ IDEA to the latest version. I checked for an update manually:

  • In the Settings/Preferences dialog Ctrl+Alt+S, select Appearance, and Behavior | System Settings | Updates.
  • Click the Check Now button to see if a newer version is available.
Related