Hi all , getting this error when trying to build the project FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the User Manual chapter on the daemon at
https://docs.gradle.org/6.9.2/userguide/gradle_daemon.html
Process command line: C:\Program Files\Eclipse Adoptium\jdk-17.0.6.10-hotspot\bin\java.exe --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang
=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED -Xmx3000m -Dfile.encoding=windows-1250 -Duser.count
ry=US -Duser.language=en -Duser.variant -cp C:\Users\majid.mardanov\.gradle\wrapper\dists\gradle-6.9.2-bin\30myfq8gjgdgqicjitpktoyx1\gradle-6.9.2\lib\gradle-launcher-
6.9.2.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.9.2
Please read the following process output to find out more:
-----------------------
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type ClassLoaderRegistry using GlobalScopeServices.createClassLoaderRegistry().
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.internal.service.ServiceCreationException: Could not create service of type ClassLoaderRegistry using GlobalScopeServices.createClassLoaderRegistry(). Caused by: java.util.zip.ZipException: zip END header not found