Topic category: Troubleshooting, bugs, and solutions
I was making a mod and then the next day I clicked run game and then this error came up - Bad method name at constant pool index 5 in class file com/sun/tools/javac/jvm/ClassReader$ArrayAttributeProxy
I tried reinstalling mcreator, changing dependencies, reloading the gradle, deleting certain things and rebooting my wifi and it still didn't work.
Does anyone know a fix for this????
Full Error:
Executing Gradle task: runClient
Build info: MCreator 2024.1.18518, forge-1.20.1, 64-bit, 16350 MB, Windows 10, JVM 17.0.7, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-06-10-14:54:30
Loaded APIs: pehkui, attribute_fix, geckolib, jei
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Bad method name at constant pool index 5 in class file com/sun/tools/javac/jvm/ClassReader$ArrayAttributeProxy
* 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 2s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 2 seconds
SOLVE: I Re-Reinstalled MCreator and it worked