Topic category: Troubleshooting, bugs, and solutions
I can't build my project. Console log is as follows:
Executing
Gradle task: build
Build
info: MCreator 2021.1.18117, fabric-1.16.5, 64-bit, 8192 MB, Mac OS X, JVM
1.8.0_275, JAVA_HOME:
/Applications/MCreator.app/Contents/MacOS/jdk/Contents/Home/jre
>
Configure project :
Fabric
Loom: 0.6.58 Build(release #58)
>
Task :compileJava UP-TO-DATE
>
Task :processResources UP-TO-DATE
>
Task :classes UP-TO-DATE
>
Task :jar UP-TO-DATE
>
Task :remapJar UP-TO-DATE
>
Task :assemble UP-TO-DATE
>
Task :compileTestJava NO-SOURCE
>
Task :processTestResources NO-SOURCE
>
Task :testClasses UP-TO-DATE
>
Task :test NO-SOURCE
>
Task :check UP-TO-DATE
>
Task :sourcesJar
>
Task :remapSourcesJar FAILED
:remapping
sources
FAILURE:
Build failed with an exception.
*
What went wrong:
Execution
failed for task ':remapSourcesJar'.
>
org/eclipse/core/runtime/IProgressMonitor has been compiled by a more
recent version of the Java Runtime (class file version 55.0), this version
of the Java Runtime only recognizes class file versions up to 52.0
*
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 3s
6
actionable tasks: 2 executed, 4 up-to-date
BUILD
FAILED
Task
completed in 3 seconds
I'm using the fabric generator plugin at https://mcreator.net/plugin/64512/mcreator-fabric-generator.
Does anyone know how to fix this? Fixes to similar problems online haven't worked or haven't been applicable.
Oh yes forgot to mention: I'm using the fabric 1.16.5 generator plugin at https://mcreator.net/plugin/64512/mcreator-fabric-generator
Can you open a bug report on the tracker and fill the bug report template, please? https://github.com/Goldorion/Fabric-Generator-MCreator/issues
It started happening for me today as well. I was building normally in the morning but now I can't build anymore with the same error. It's some Eclipse version mismatch. I have no errors with the mod and if I test play it it builds it normally.
Had a similar library error few weeks ago but that was resolved with complete cache clearing, this one however does not get resolved that way.
Using Fabric 1.16.5 built-in 0.34.6
Hello there, did not know we had you on the website too :D
I just signed up :P