-
-
Notifications
You must be signed in to change notification settings - Fork 87
Description
Minecraft Version
1.21.11
Mod Loader
Fabric
Describe the Issue
When starting a Fabric server with CookingForBlockheads 21.11.4 and Balm 21.11.5 for Minecraft 1.21.11, the server fails to start with the following error:
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'cookingforblockheads'
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: net.blay09.mods.balm.fabric.platform.internalFabricBalmProxy
Environment:
Minecraft: 1.21.11
Fabric Loader: 0.18.4
Fabric API: 0.140.2+1.21.11
CookingForBlockheads: 21.11.4
Balm: 21.11.5
Java: 22 (also tested with Java 21)
OS: Windows 10/11
Steps to Reproduce:
Set up a Fabric server for Minecraft 1.21.11
Install Fabric API 0.140.2+1.21.11
Install Balm 21.11.5 (fabric version)
Install CookingForBlockheads 21.11.4
Start the server
Expected Behavior:
Server should start successfully with all mods loaded.
Actual Behavior:
Server crashes during initialization with ClassNotFoundException for net.blay09.mods.balm.fabric.platform.internalFabricBalmProxy.
Analysis:
After investigation, I found that:
The balm-fabric-21.11.5.jar contains the class at path: net/blay09/mods/balm/fabric/platform/internal/FabricBalmProxy.class (note the internal/ subdirectory)
However, CookingForBlockheads seems to be looking for: net/blay09/mods/balm/fabric/platform/internalFabricBalmProxy.class (without the subdirectory)
interestingly, the cilent fabric minecraft with the same mods launched successfully, but the server jar launched as the crash i reported.