Mod conflictsLinkageError: Loader Constraint Violation on LogUtils.getLogger (SLF4J Conflict)
What it looks like in the log
java.lang.LinkageError: loader constraint violation: when resolving method 'org.slf4j.Logger com.mojang.logging.LogUtils.getLogger()' the class loader
How to fix it
- If you have Iris Shaders installed, update it to the latest release specifically marked for your exact Minecraft version (such as 1.18.2 or newer), as early Iris builds bundled SLF4J.
- Update Fabric Loader in your launcher profile to the latest available version.
- Check your `mods` folder for mods built for Minecraft 1.18.1 or older and update or remove them.
- If the game still fails to launch, temporarily move half of your mods out of the `mods` folder and test launch repeatedly (binary search) to identify and remove the specific mod bundling `org/slf4j` classes.
| Loaders | Fabric, Quilt |
|---|
| Severity | Stops the game |
|---|
| Category | Mod conflicts |
|---|
Check your own log