java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7

后端 未结 14 2067
南方客
南方客 2020-12-28 11:46

I am getting this exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 and java.lang.NoClassDefFoundError: Coul

14条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-28 12:19

    I solved it by just edit gradle-wrapper.properties inside gradle folder not .gradle :

    from:

    distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip
    

    to:

    distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
    

    rebuild and it's ok .

提交回复
热议问题