Topic category: Help with MCreator software
FAILURE: Build failed with an exception.
BUILD FAIBuild file 'CTotal time: 4.673 secs
:\MCreator\forge\build.gradle' line: 10
LED
* Where:
* What went wrong:
A problem occurred evaluating root project 'forge'.
> Failed to apply plugin [id 'net.minecraftforge.gradle.forge']
> java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
Above the error I got in the console. I got in the file 'buid.gradle' the line 10 :
apply plugin: 'net.minecraftforge.gradle.forge'
I do not know what to deal with, the error occurs when the workspace is filled or empty, which seems logical because the problem seems to come from the loading of various complementary files to the proper execution of MCreator. that there were updates on the site, is there a report? I have already done the execution in Admin and I have already downloaded and reinstalled without success, the error remains the same in passing. Thanks in advance to the people who could help me ^^ '
Hmm Try deleting the .gradle folder and mcreator will auto re-download it
If that does not work try and deleting the forge folder
@#1
Executing gradle command: clean build
Microsoft Windows [version 10.0.15063] 'gradlew' n'est pas reconnu en tant que commande inter C:\MCreator>cd forge
ne
(c) 2017 Microsoft Corporation. Tous droits r‚serv‚s. ou externe, un programme ex‚cutable ou un fichier de commandes.
C:\MCreator\forge>SET "JAVA_HOME=C:\MCreator\jdk64\"
C:\MCreator\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\MCreator\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\MCreator\forge>gradlew -Dorg.gradle.jvmargs="-Xms2378m -Xmx7569m" clean build
C:\MCreator\forge>
Task completed with return code 0 in 37 milliseconds
I deleted the '.gradle' folder without any change, then I deleted the 'forge' folder and I got the compilation below. It change the compilation result, no more erreur, however no more steps in the compilation.. What do you think about that?
By the way, the 'forge' folder that contained a lot of folders and files simply contains the 'src' folder now ...
Hmm i am sorry but i dont know what to say
I think it could be a probleme of compatibility with the JDK...
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.1, 64-bit, 3066 MB, Windows 10 - cmd, JVM 1.8.0_172, JAVA_HOME: C:\Pylo\MCreator181\.\jdk
(c) 2018 Microsoft Corporation. Wszelkie prawa zastrzeľone.
C:\Pylo\MCreator181\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies
Etag download for https://files.minecraftforge.net/maven/de/oceanlabs/mcp/versions.json failed with code 400
Etag download for http://export.mcpbot.bspk.rs/versions.json failed with code 400
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Pylo\MCreator181\forge\build.gradle' line: 10
* What went wrong:
A problem occurred evaluating root project 'forge'.
> Failed to apply plugin [id 'net.minecraftforge.gradle.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: 27.906 secs
C:\Pylo\MCreator181\forge>
Task completed with return code 0 in 30078 milliseconds
Halp
I'm still waiting...
this happend to me to help!