-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Minecraft Version: 1.20.1 (Forge)
Crash Trigger:
text
at cpw.mods.modlauncher.ModuleLayerHandler.buildLayer
at cpw.mods.modlauncher.TransformationServicesHandler.buildTransformingClassLoader
Error Log:
text
Exception in thread "main" java.lang.reflect.InvocationTargetException
Caused by: java.lang.module.ResolutionException:
Modules jlayer and craftgr export package javazoom.jl.player to module itemfilters
Problem Analysis
Root Cause:
A module conflict crashed Java’s module system. Two distinct modules (jlayer and craftgr) attempted to export the same Java package (javazoom.jl.player) to the itemfilters module, violating Java’s "single-exporter rule" for modules.
The conflict arises during Forge’s core loading phase (ModLauncher), specifically when building the module layer.
ℹ️ Note: I lack advanced diagnostic tools; this analysis is based on observed logs.
Crash occurs immediately during mod loading.
Consequence: Normal configuration cannot start the game
Machine translation may encounter errors;