title: How I can fix this error; java.lang.ClassNotFoundException: org.gradle.api.internal.plugins.DefaultConvention
body: <p>When I wanted to build Gradle, I got the following error.</p>
  
  <p>could you please help me? </p>
  
  <p>Thanks a lot.</p>
  
  <p>java.lang.NoClassDefFoundError: org/gradle/api/internal/plugins/DefaultConvention
  at org.jetbrains.plugins.gradle.tooling.builder.ProjectExtensionsDataBuilderImpl.buildAll(ProjectExtensionsDataBuilderImpl.groovy:50)
  ... 122 more</p>
  
  <p>My Gradle latest version is 6.0.1.</p>
  
  <p>Also, I posted to Github. you can find full detail of error and my Gradle code at there; <a href="https://github.com/gradle/gradle/issues/11769" rel="noreferrer">https://github.com/gradle/gradle/issues/11769</a></p>