Forge gradle setup problem - No such version exists

Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

This is the error that I got when it was trying to install the gradle:

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.16299.192]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator177>cd forge
C:\Pylo\MCreator177\forge>SET "JAVA_HOME=C:\Pylo\MCreator177\jdk64\"
C:\Pylo\MCreator177\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator177\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator177\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
Etag download for http://files.minecraftforge.net/maven/net/minecraftforge/forge/json failed with code 400
FAILURE: Build failed with an exception.
BUILD FAILED
* Where:
Total time: 19.257 secs
Build file 'C:\Pylo\MCreator177\forge\build.gradle' line: 24
* What went wrong:
A problem occurred evaluating root project 'forge'.
> No such version exists!
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator177\forge>
Task completed with return code 0 in 20148 milliseconds

 

Issue comments

It seems like a firewall issue. Try to allow MCreator in the firewall and try to setup MCreator again.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.