When i execute the command ./gradlew build i get an error:
FAILURE: Build failed with an exception.
how do i fix it ?
FAILURE: Build failed with an exception.
- What went wrong: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache > Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 [in thread "Daemon worker"]
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
- Get more help at help.gradle.org
how do i fix it ?