Gradle Task Failed Error Code -23

Published by Azrhod on Sat, 10/27/2018 - 13:03
Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

Here my error code :

Executing gradle command: clean build
Microsoft Windows [version 10.0.17763.1]
(c) 2018 Microsoft Corporation. Tous droits r‚serv‚s.
C:\Pylo\MCreator179>cd forge
C:\Pylo\MCreator179\forge>SET "JAVA_HOME=C:\Pylo\MCreator179\jdk\"
C:\Pylo\MCreator179\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator179\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator179\forge>SET "GRADLE_USER_HOME=C:\Users\hankv\.mcreator\gradle"
C:\Pylo\MCreator179\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean build 
Etag download for http://files.minecraftforge.net/maven/de/oceanlabs/mcp/versions.json fa…
Etag download for http://export.mcpbot.bspk.rs/versions.json failed with code 400
Etag download for http://files.minecraftforge.net/maven/net/minecraftforge/forge/json fai…
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'forge'.
> java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 6.745 secs
C:\Pylo\MCreator179\forge>
Task completed with return code 0 in 7243 milliseconds

Issue comments

Make sure to have a reliable internet connection and no firewalls that could be obstructing MCreator. Then go to C:\Users\hankv\.mcreator\, delete folder gradle in this folder and run it again. I suggest you to use MCreator 1.8.0 as 1.7.9 is not supported anymore too.

Hey, i have a Error.

Executing gradle task: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 2020.1.05419, 1.12.2, 64-bit, 8016 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
Etag download for https://files.minecraftforge.net/maven/de/oceanlabs/mcp/versions.json failed with code 400
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'godcraft'.
> java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
* 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 8s
BUILD FAILED

 



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.