[ERROR] Error starting server with mods

[16:45:05] [main/FATAL]: Mixin apply failed byg.mixins.json:common.world.feature.MixinFeature → net.minecraft.class_3031: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on isSoil could not find any targets matching ‘Lnet/minecraft/class_3031;method_23396(Lnet/minecraft/class_2248;)Z’ in net.minecraft.class_3031. Using refmap byg-refmap.json [PREINJECT Applicator Phase → byg.mixins.json:common.world.feature.MixinFeature → Prepare Injections → -> handler$zfc000$isSoil(Lnet/minecraft/class_2248;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V → Parse]
3 org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on isSoil could not find any targets matching ‘Lnet/minecraft/class_3031;method_23396(Lnet/minecraft/class_2248;)Z’ in net.minecraft.class_3031. Using refmap byg-refmap.json [PREINJECT Applicator Phase → byg.mixins.json:common.world.feature.MixinFeature → Prepare Injections → -> handler$zfc000$isSoil(Lnet/minecraft/class_2248;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V → Parse]
4 at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.findMethods(InjectionInfo.java:572) ~[fabric.jar:?]
5 at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.readAnnotation(InjectionInfo.java:288) ~[fabric.jar:?]
6 at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.(InjectionInfo.java:275) ~[fabric.jar:?]
7 at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.(InjectionInfo.java:267) ~[fabric.jar:?]
8 at org.spongepowered.asm.mixin.injection.struct.CallbackInjectionInfo.(CallbackInjectionInfo.java:46) ~[fabric.jar:?]
9 at jdk.internal.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source) ~[?:?]
10 at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
11 at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
12 at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
13 at org.spongepowered.asm.mixin.injection.struct.InjectionInfo$InjectorEntry.create(InjectionInfo.java:140) ~[fabric.jar:?]
14 at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.parse(InjectionInfo.java:624) ~[fabric.jar:?]
15 at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1247) ~[fabric.jar:?]
16 at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1033) ~[fabric.jar:?]
17 at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:388) ~[fabric.jar:?]
18 at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320) ~[fabric.jar:?]
19 at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345) ~[fabric.jar:?]
20 at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569) [fabric.jar:?]
21 at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351) [fabric.jar:?]
22 at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208) [fabric.jar:?]
23 at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) [fabric.jar:?]
24 at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23) [fabric.jar:?]
25 at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:162) [fabric.jar:?]
26 at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:154) [fabric.jar:?]
27 at java.lang.ClassLoader.loadClass(ClassLoader.java:519) [?:?]
28 at net.minecraft.class_2378.(class_2378.java:233) [intermediary-server.jar:?]
29 at net.minecraft.class_2966.method_12851(class_2966.java:44) [intermediary-server.jar:?]
30 at net.minecraft.server.Main.main(Main.java:92) [intermediary-server.jar:?]
31 at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
32 at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
33 at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
34 at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
35 at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) [fabric.jar:?]
36 at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) [fabric.jar:?]
37 at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:28) [fabric.jar:?]
38 at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
39 at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
40 at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
41 at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
42 at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:68) [fabric.jar:?]
43 at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:114) [fabric.jar:?]
44 at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:56) [fabric.jar:?]

Remove your mods one by one until your server boots. If one fits the name “byg”, remove that.

Note: this forum is for the Sponge software support. Mixin is a tool used by Sponge and, in your case, Fabric and its mods - and it’s the mods specifying bad Mixins that cause these errors. Mixin and Sponge are not responsible either way.

If you have futher problems like this, you are better off asking in Fabric communities, not here.

alr ty! I removed the byg mod and it worked!