1

this is the error message : java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 it turns later to another error : Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

  • check this https://stackoverflow.com/questions/61289461/java-lang-noclassdeffounderror-could-not-initialize-class-org-codehaus-groovy-v – Moaid ALRazhy Apr 18 '21 at 20:15

1 Answers1

1

I solved it by changing gradle-wrapper.properties, distributionUrl to-

distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip
Thaanu
  • 63
  • 9