Execution failed for task runClient (using MCreator Link API)

Started by r0drunner on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 16:51, 30. Jan 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Execution failed for task runClient (using MCreator Link API)

I'm trying to  connect an arduino uno to minecraft following the tutorial "MCreator Link: MCreator procedures". Using MCreator version 2023.1.10610 I got a compiler error that it has been identified as a bug present in all versions of MCR covering 1.18.2 and 1.19.2. See the following post is you need more details: "mcreator-link-api-your-workspace-contains-mod-elements-dont-comple-properly". 

The bug will be fixed in the next MCreator release, but in the meantime, I went back to version 2021.2 and  forge 1.16.5. With this downgrade, I got rid of the compilation errors, but

when I try to build the workspace, the launcher starts but it crashes shortly afterward with an error 

Exception in thread "main" 
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Users\docente\.mcreator\gradle\jdks\jdk8u362-b09\bin\java.exe'' finished with non-zero exit value 1

 

I've tried to solve the problem following the hints in https://mcreator.net/wiki/gradle-setup-errors, but without success.

This is an extract of the console's log where you can see more context for the error:

https://pastebin.com/JQkuRFk1