[HAVE CHECKED KNOWLEDGE BASE] Gradle issue when opening workspace

Started by cloude on

Topic category: Help with MCreator software

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[HAVE CHECKED KNOWLEDGE BASE] Gradle issue when opening workspace
Mon, 11/04/2024 - 01:18 (edited)

I HAVE ALREADY TRIED EVERYTHING ON THE KNOWLEDGE BASE/COMMON FIXES PAGE

I have searched everywhere for a fix, but for some reason I can't run gradle. I get this error (https://pastebin.com/EGfieJyu) if I try to open or create a workspace. It doesn't even make sense because if I check the place where gradle is installed, in C:\Gradle and .mcreator\gradle\wrapper\dists, it is installed. The issue is not fixed even if I manually add the gradle bin in this folder. Here is a section of the error if you don't want to open pastebin: 

Executing Gradle synchronization tasks
Build info: MCreator 2024.3.42716, forge-1.20.1, 64-bit, 16163 MB, Windows 11, JVM 21.0.4, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-11-03-20:02:48

org.gradle.tooling.GradleConnectionException: Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.8-bin.zip'.
at org.gradle.tooling.internal.consumer.ConnectionExceptionTransformer.transform(ConnectionExceptionTransformer.java:57) at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:42) at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:68) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at

 

 

Edited by cloude on Mon, 11/04/2024 - 01:18
If none of the fixes don't…
Mon, 11/04/2024 - 18:20

If none of the fixes don't work, then we may be out of ideas what to do in that particular specific case.

Our knowledge base contains all the knowledge we have about this particular issue