Topic category: Troubleshooting, bugs, and solutions
This is the sequel to my previous post. I tried using the database information and tried solution 1 and 2 on the help page but cannot figure it out. I tried turning off and on my VPN, still doesn't work.
My previous forum post: https://mcreator.net/forum/63850/unable-load-gradle-project
Here is the error:
Executing
Gradle task: eclipse
Build
info: MCreator 2020.3.22116, forge-1.15.2, 64-bit, 11985 MB, Windows 10,
JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
org.gradle.tooling.GradleConnectionException:
Could not install Gradle distribution from
'https://services.gradle.org/distributions/gradle-4.10.3-bin.zip'.
at
org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(DistributionFactory.java:139)
at
org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(CachingToolingImplementationLoader.java:41)
at
org.gradle.tooling.internal.consumer.loader.SynchronizedToolingImplementationLoader.create(SynchronizedToolingImplementationLoader.java:44)
at
org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.onStartAction(LazyConsumerActionExecutor.java:104)
at
org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(LazyConsumerActionExecutor.java:86)
at
org.gradle.tooling.internal.consumer.connection.CancellableConsumerActionExecutor.run(CancellableConsumerActionExecutor.java:45)
at
org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(ProgressLoggingConsumerActionExecutor.java:61)
at
org.gradle.tooling.internal.consumer.connection.RethrowingErrorsConsumerActionExecutor.run(RethrowingErrorsConsumerActionExecutor.java:38)
at
org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor.lambda$run$0(DefaultAsyncConsumerActionExecutor.java:55)
at
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at
org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
at java.lang.Thread.run(Thread.java:748)
Caused
by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.zip.ZipFile.<init>(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:239)
at org.gradle.wrapper.Install.access$900(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:81)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.tooling.internal.consumer.DistributionInstaller.install(DistributionInstaller.java:72)
at
org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(DistributionFactory.java:133)
... 14 more
TASK
EXECUTION FAILED
Task
completed in 353 milliseconds
The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.
I TOLD YOU I SAID I ALREADY CHECKED THE KNOWLEDGE BASE AND IT DOES NOT WORK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
AND I ALSO CHECKED MULTIPLE FIXES AND TRIED THEM AND NONE OF THEM WORK TOO!!! Also, does my region effects this error? I live in China.
Could be. Citation from https://mcreator.net/support/knowledgebase -> https://mcreator.net/wiki/gradle-setup-errors
If you read the pages I linked you would see this.
I also suggest checking https://mcreator.net/wiki/general-publishing-guidelines regarding your caps-lock raging (and also about the location where console logs should be posted) to avoid any potential bans of the user account in the future.
Actually, thanks a lot. It actually works when I fixed my VPN and stuff.
Mine will not build correctly!
Executing Gradle task: eclipse
Build info: MCreator 2021.3.54000, forge-1.17.1, 64-bit, 8082 MB, Windows 10, JVM 16.0.2, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'ideas_from_discord_mod'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve net.minecraftforge.gradle:ForgeGradle:5.1.+.
Required by:
project :
> Failed to list versions for net.minecraftforge.gradle:ForgeGradle.
> Unable to load Maven meta-data from https://maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/….
> Could not HEAD 'https://maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/…'.
> Connect to maven.minecraftforge.net:443 [maven.minecraftforge.net/51.79.83.165] failed: Connection timed out: no further information
* 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 https://help.gradle.org
BUILD FAILED in 1m 21s
BUILD FAILED
Task completed in 1 minute and 27 seconds
The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.
I have this same problem. I tried everything from https://mcreator.net/support/knowledgebase and It isn't work. I don't know what should I do to fix it.
Executing Gradle task: eclipse
Build info: MCreator 2021.3.54000, forge-1.17.1, 64-bit, 20348 MB, Windows 10, JVM 16.0.2, JAVA_HOME: E:\mcreator 3\MCreator\jdk
org.gradle.tooling.GradleConnectionException: Could not execute build using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.2-bin.zip'.