FabricMC / fabric-loader

Fabric's mostly-version-independent mod loader.
Apache License 2.0
633 stars 270 forks source link

Weird Fabric Error #622

Closed ENTPRESTIGIOUS closed 2 years ago

ENTPRESTIGIOUS commented 2 years ago

I wonder why since it doesn't specify the mod that does this or whether or not it's on fabric's end. Copied it from error box.

Minecraft has crashed! net.fabricmc.loader.impl.FormattedException: java.lang.LinkageError: loader constraint violation: loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @5d8bafa9 wants to load interface org.slf4j.Logger. A different interface with the same name was previously loaded by 'app'. (org.slf4j.Logger is in unnamed module of loader 'app') at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:418) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) Caused by: java.lang.LinkageError: loader constraint violation: loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @5d8bafa9 wants to load interface org.slf4j.Logger. A different interface with the same name was previously loaded by 'app'. (org.slf4j.Logger is in unnamed module of loader 'app') at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:223) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:174) at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:155) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) at org.slf4j.LoggerFactory.(LoggerFactory.java:83) at net.minecraft.class_2370.(class_2370.java:38) at net.minecraft.class_2378.(class_2378.java:130) at net.minecraft.class_2966.method_12851(class_2966.java:49) at net.minecraft.client.main.Main.main(Main.java:153) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) ... 2 more

ENTPRESTIGIOUS commented 2 years ago

Current Mod List: 3dSkinLayers-Fabric-1.3.1.jar AdvancementPlaques-1.18-fabric-1.4.3.jar BetterChristmasChests-3.0.0.jar Boat-Item-View-Fabric-1.18-0.0.3.jar Clumps-fabric-1.18.1-8.0.0+5.jar Controlling-fabric-1.18.1-9.0+15.jar CraftPresence-Fabric-1.18.2-Release-1.8.8.jar DynamicSoundFilters-1.3.0+1.18.jar EditSign-1.18.2-2.3.0.jar EnchantmentDescriptions-Fabric-1.18.1-9.0.11.jar Essential.jar Fabric-1.18-SmoothSwapping-0.4.4.jar FabricCustomCursorMod-1.3.1.jar ForgeConfigAPIPort-v3.1.1-1.18.1-Fabric.jar Highlighter-1.18-fabric-1.1.2.jar Iceberg-1.18.1-fabric-1.0.38.jar 'InventoryHUD-fabric-[1.18]+-3.4.2.jar' ItemBorders-1.18-fabric-1.1.5.jar KronHUD-2.0.1.jar LegendaryTooltips-1.18.1-fabric-1.2.2.jar MerchantMarkers-1.18.1-fabric-1.1.0.jar PetOwner-1.8.2-1.18-pre4+.jar PresenceFootsteps-1.4.0.jar RoughlyEnoughItems-8.0.438.jar XaerosWorldMap_1.20.3.1_Fabric_1.18.2.jar Xaeros_Minimap_22.3.0_Fabric_1.18.2.jar appleskin-fabric-mc1.18.1-2.3.0.jar architectury-4.0.30.jar armorchroma-1.2.0.jar balm-fabric-2.4.1+0.jar betterbeds-1.2.0.jar boosted-brightness-2.1.0.jar brb-Fabric-1.5.6.jar cloth-api-3.1.61.jar cloth-config-6.2.57-fabric.jar craftingtweaks-fabric-1.18-13.0.0.jar cullleaves-2.3.2.jar customfov-fabric-1.4.1-1.18.1.jar dark-loading-screen-1.6.11.jar deathlog-0.2.7+1.18.jar durabilitytooltip-1.1.0-mc1.18.jar effective-1.1.jar fabric-api-0.47.8+1.18.2.jar fabric-language-kotlin-1.7.1+kotlin.1.6.10.jar fast-chest-1.2+1.18.jar ferritecore-4.1.2-fabric.jar iris-mc1.18.1-1.2.0-pre.jar itemscroller-fabric-1.18.2-0.16.0.jar lambdynamiclights-2.1.0+1.17.jar lazydfu-0.1.2.jar lithium-fabric-mc1.18.2-0.7.9.jar logical_zoom-0.0.14.jar malilib-fabric-1.18.2-0.12.0.jar modmanager-1.2.2+1.18.jar modmenu-3.0.1.jar physics-mod-2.6.7-mc-1.18-fabric.jar pinglist-1.3.3.jar playtimer-fabric-1.1.1.jar reeses_sodium_options-mc1.18.1-1.4.0.jar signtools-fabric.1.18-1.0.0.jar sodium-fabric-mc1.18.1-0.4.0-alpha6+build.14.jar sodium-fabric-mc1.18.2-0.4.1+build.15.jar starlight-1.0.2+fabric.89b8d9f.jar statuseffecttimer-1.1.0+1.18.1.jar torohealth-1.18-fabric-2.jar trinkets-3.2.0.jar tweakeroo-fabric-1.18.2-0.13.0.jar

modmuss50 commented 2 years ago

This is caused by iris shading slf4j, please check for an update.

ENTPRESTIGIOUS commented 2 years ago

This is caused by iris shading slf4j, please check for an update.

OH okay thanks!

Givrelin commented 2 years ago

Hello, i have the same problem and i tried to update iris , it didn't work, i tried to just not play with iris and it's still crashing ! here's my crash log: net.fabricmc.loader.impl.FormattedException: java.lang.LinkageError: loader constraint violation: loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @2a640157 wants to load interface org.slf4j.Logger. A different interface with the same name was previously loaded by 'app'. (org.slf4j.Logger is in unnamed module of loader 'app') at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:418) ~[fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) [fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.13.3.jar:?] Caused by: java.lang.LinkageError: loader constraint violation: loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @2a640157 wants to load interface org.slf4j.Logger. A different interface with the same name was previously loaded by 'app'. (org.slf4j.Logger is in unnamed module of loader 'app') at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?] at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?] at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:223) ~[fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:174) ~[fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:155) ~[fabric-loader-0.13.3.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] at org.slf4j.LoggerFactory.(LoggerFactory.java:86) ~[org_slf4j_slf4j-api-1.7.29-b74fb403e59ae6b3.jar:?] at io.activej.codegen.ClassBuilder.(ClassBuilder.java:59) ~[io_activej_activej-codegen-4.3-df25fa134d0d6bf1.jar:?] at io.activej.codegen.ClassBuilder.create(ClassBuilder.java:118) ~[io_activej_activej-codegen-4.3-df25fa134d0d6bf1.jar:?] at io.activej.codegen.ClassBuilder.create(ClassBuilder.java:108) ~[io_activej_activej-codegen-4.3-df25fa134d0d6bf1.jar:?] at io.activej.serializer.SerializerBuilder.buildImpl(SerializerBuilder.java:813) ~[io_activej_activej-serializer-4.3-5785abdc502fffa6.jar:?] at io.activej.serializer.SerializerBuilder.build(SerializerBuilder.java:316) ~[io_activej_activej-serializer-4.3-5785abdc502fffa6.jar:?] at io.activej.serializer.SerializerBuilder.build(SerializerBuilder.java:310) ~[io_activej_activej-serializer-4.3-5785abdc502fffa6.jar:?] at net.oskarstrom.dashloader.data.serializers.DashSerializers.lambda$static$0(DashSerializers.java:33) ~[dashloader-2.0.jar:?] at net.oskarstrom.dashloader.data.serializers.DashSerializer.createSerializer(DashSerializer.java:58) ~[dashloader-2.0.jar:?] at net.oskarstrom.dashloader.data.serializers.DashSerializers.createSerializers(DashSerializers.java:65) ~[dashloader-2.0.jar:?] at net.oskarstrom.dashloader.data.serializers.DashSerializers.initSerializers(DashSerializers.java:57) ~[dashloader-2.0.jar:?] at net.oskarstrom.dashloader.DashLoader.initialize(DashLoader.java:94) ~[dashloader-2.0.jar:?] at net.minecraft.client.main.Main.handler$zba000$main(Main.java:517) ~[fabric-loader-0.13.3-1.18.2.jar:?] at net.minecraft.client.main.Main.main(Main.java) ~[fabric-loader-0.13.3-1.18.2.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) ~[fabric-loader-0.13.3.jar:?] ... 2 more thanks in advance !

Mx54-4hm3d commented 1 year ago

im having a similar problem which didnt happen before but i put baritone and meteor client on and now im getting this error Minecraft has crashed! net.fabricmc.loader.impl.FormattedException: java.lang.LinkageError: loader constraint violation: loader 'app' wants to load interface org.slf4j.Logger. A different interface with the same name was previously loaded by net.fabricmc.loader.impl.launch.knot.KnotClassLoader @48f2bd5b. (org.slf4j.Logger is in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @48f2bd5b, parent loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader$DynamicURLClassLoader @692f203f) at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:464) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) Caused by: java.lang.LinkageError: loader constraint violation: loader 'app' wants to load interface org.slf4j.Logger. A different interface with the same name was previously loaded by net.fabricmc.loader.impl.launch.knot.KnotClassLoader @48f2bd5b. (org.slf4j.Logger is in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @48f2bd5b, parent loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader$DynamicURLClassLoader @692f203f) at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862) at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) at org.slf4j.helpers.SubstituteServiceProvider.(SubstituteServiceProvider.java:9) at org.slf4j.LoggerFactory.(LoggerFactory.java:90) at org.slf4j.MarkerFactory.(MarkerFactory.java:52) at com.mojang.logging.LogUtils.(LogUtils.java:18) at net.minecraft.client.main.Main.(Main.java:42) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1155) at java.base/java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(DirectMethodHandle.java:377) at java.base/java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(DirectMethodHandle.java:374) at java.base/java.lang.ClassValue.getFromHashMap(ClassValue.java:228) at java.base/java.lang.ClassValue.getFromBackup(ClassValue.java:210) at java.base/java.lang.ClassValue.get(ClassValue.java:116) at java.base/java.lang.invoke.DirectMethodHandle.checkInitialized(DirectMethodHandle.java:400) at java.base/java.lang.invoke.DirectMethodHandle.ensureInitialized(DirectMethodHandle.java:388) at java.base/java.lang.invoke.DirectMethodHandle.internalMemberNameEnsureInit(DirectMethodHandle.java:338) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:462) ... 2 more