Crash on startup with NeoForge 21.4.138: NoClassDefFoundError
UnwrittenNicholas opened this issue ยท 1 comments
Describe the bug
crash-2025-06-11_17.01.18-fml.txt
The game fails to launch and crashes during the mod loading phase when Visuality is installed. The crash report indicates that a required class is not found.
To Reproduce
Steps to reproduce the behavior:
- Install Minecraft 1.21.4.
- Install NeoForge 21.4.138.
- Place
visuality-2.0.6.jarin the mods folder. - Launch the game.
- The game will crash before reaching the main menu.
Versions
- [cite_start]Minecraft: 1.21.4
- [cite_start]NeoForge: 21.4.138
- [cite_start]Visuality: 2.0.6
Crash Log
The primary error seems to be a java.lang.NoClassDefFoundError.
Here is the key part of the crash log:
[cite_start]java.lang.NoClassDefFoundError: net/neoforged/neoforge/client/event/RegisterClientReloadListenersEvent
Additional context
I am attaching the full crash report and the latest.log file for more detailed information. This issue seems to be an incompatibility with the specified version of NeoForge, as the mod is looking for a class that doesn't appear to exist in this build.