Topic category: Troubleshooting, bugs, and solutions
I can't build my project. Console log is as follows:
Gradle task: build
info: MCreator 2021.1.18117, fabric-1.16.5, 64-bit, 8192 MB, Mac OS X, JVM
Configure project :
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 :remapSourcesJar FAILED
Build failed with an exception.
What went wrong:
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
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
Get more help at https://help.gradle.org
FAILED in 3s
actionable tasks: 2 executed, 4 up-to-date
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.