Build Setup Failed (all MCreator versions) [Solved]

Started by ArtemXtheArtiX on

Topic category: Help with MCreator software

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Build Setup Failed (all MCreator versions) [Solved]
Mon, 12/04/2023 - 16:10 (edited)

Idk what went wrong after i worked in MCreator 2022.3 with generator 1.16.5,  i just saved my sword lol (
i tried to find answer on question like this, but nothing found  (i dont need link to Knowledge Base, it doesn't help)


Executing Gradle task: eclipse
Build info: MCreator 2022.3.48217, forge-1.18.2, 64-bit, 7626 MB, Windows 10, JVM 17.0.3, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-11-26-15:21:50 java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)  at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)  at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.RuntimeException: Timeout of 120000 reached waiting for exclusive access to file: C:\Users\user\.mcreator\gradle\wrapper\dists\gradle-7.3-bin\ddwl0k7mt9g6ak16i1m905vyv\gradle-7.3-bin.zip
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)  at org.gradle.wrapper.Install.createDist(Install.java:48) atorg.gradle.tooling.internal.consumer.DistributionInstaller.install(DistributionInstaller.java:73)  at org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(DistributionFactory.java:129)

Edited by ArtemXtheArtiX on Mon, 12/04/2023 - 16:10
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
java.lang.RuntimeException:…
Sun, 11/26/2023 - 11:15

java.lang.RuntimeException: Timeout of 120000 reached waiting for exclusive access to file: C:\Users\user.mcreator\gradle\wrapper\dists\gradle-7.3-bin\ddwl0k7mt9g6ak16i1m905vyv\gradle-7.3-bin.zip

 

Try Run it as Admin

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Its doesn't work, let me try…
Sun, 11/26/2023 - 11:33

Its doesn't work, let me try download gradle by myself...

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so what happened 
Sun, 11/26/2023 - 12:11

so what happened 

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It appears there may be an…
Sun, 11/26/2023 - 16:25

It appears there may be an issue with your Wi-Fi. Are you experiencing slow Wi-Fi speeds or is there a high number of users connected to your Wi-Fi network?

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Weak Wi-Fi... I use the…
Sun, 11/26/2023 - 17:18

Weak Wi-Fi... I use the mobile Internet through distribution

Weak Wi-Fi... I use the…
Mon, 11/27/2023 - 17:29

Weak Wi-Fi... I use the mobile Internet through distribution

Gradle struggles to work on unstable connections

https://mcreator.net/wiki/gradle-setup-errors:

In most cases all Gradle errors are caused by one of these:

  • Firewall or antivirus (Microsoft Defender can cause problems too) blocking MCreator
  • Slow internet connection
  • Your ISP blocking certain websites
  • Too slow VPN or VPN with blocked domains that MCreator needs to access
  • Any other software blocking access to the download repository

The most common errors from Gradle are caused by firewalls or antivirus software. If you have any issues, we recommend you to temporarily turn off this software and try again. If this works, add MCreator as an exception to your firewall or antivirus or reconfigure the software properly to not block programs such as MCreator.

It can also happen that the servers from which Gradle downloads files (Minecraft servers, Minecraft Forge repo, Maven repository) are down and you might just need to try again later in such cases.

In some cases of unstable or slow connections, running the setup multiple times and when it fails with errors related to the internet connection (timeout errors, failed to connect, failed to GET, HEAD, ...) clicking re-run the setup multiple times resolves the issue as eventually, all files get properly downloaded.

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, now i got good wifi …
Mon, 12/04/2023 - 10:43

Okay, now i got good wifi (still from mobile internet), but now i has another problem 
":compileJava: Failed" https://ctxt.io/2/AADQiAgoFQ
Rebuild Gradle and Code Regeneration didnt worked
 

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I fixed it, it's simple... I…
Mon, 12/04/2023 - 16:08

I fixed it, it's simple... I created a new project because I haven't done that much...?

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For now, I think all the…
Mon, 12/04/2023 - 16:10

For now, I think all the problems has been resolved

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, i did it earlier anyway
Mon, 12/04/2023 - 18:06

Okay, i did it earlier anyway