NeoForge 1.21.1
I've been putting together a modded server for me and my friends, but the second I get any mod in the mods folder it refuses to run. The logs give me no information, I've tried reinstalling the server, and testing with only one mod at a time. But regardless of the mod it refuses to start. Is there something I'm doing wrong? Here are the logs I'm getting:
[12May2026 18:56:56.898] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.neoForgeVersion, 21.1.229, --fml.fmlVersion, 4.0.42, --fml.mcVersion, 1.21.1, --fml.neoFormVersion, 20240808.144430]
[12May2026 18:56:56.901] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: JVM identified as Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 26.0.1+8-34
[12May2026 18:56:56.902] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 11.0.5+main.901c6ea8 starting: java version 26.0.1 by Oracle Corporation; OS Windows 10 arch amd64 version 10.0
[12May2026 18:56:57.000] [main/INFO] [net.neoforged.fml.loading.ImmediateWindowHandler/]: ImmediateWindowProvider not loading because launch target is forgeserver
[12May2026 18:56:57.038] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=union:/C:/ModpackFolder/libraries/net/fabricmc/sponge-mixin/0.15.2+mixin.0.8.7/sponge-mixin-0.15.2+mixin.0.8.7.jar%2373!/ Service=ModLauncher Env=SERVER
[12May2026 18:56:57.309] [main/INFO] [net.neoforged.fml.loading.moddiscovery.ModDiscoverer/SCAN]: Found mod file "server-1.21.1-20240808.144430-srg.jar" [locator: production server provider +net.neoforged:neoforge:21.1.229:server]
[12May2026 18:56:57.330] [main/INFO] [net.neoforged.fml.loading.moddiscovery.ModDiscoverer/SCAN]: Found mod file "neoforge-21.1.229-universal.jar" [locator: PathBasedLocator[name=neoforge, paths=[libraries\net\neoforged\neoforge\21.1.229\neoforge-21.1.229-universal.jar]], reader: mod manifest]
[12May2026 18:56:57.341] [main/INFO] [net.neoforged.fml.loading.moddiscovery.ModDiscoverer/SCAN]: Found mod file "YungsApi-1.21.1-NeoForge-5.1.6.jar" [locator: {mods folder locator at C:\Users\Nebulor\Desktop\Neb's Special Cozy Pack\mods}, reader: mod manifest]
[12May2026 18:56:57.427] [main/INFO] [net.neoforged.fml.loading.moddiscovery.locators.JarInJarDependencyLocator/]: Found 2 dependencies adding them to mods collection
[12May2026 18:56:57.427] [main/INFO] [net.neoforged.fml.loading.moddiscovery.ModDiscoverer/SCAN]: Found gamelibrary file "mixinextras-neoforge-0.5.3.jar" [parent: neoforge-21.1.229-universal.jar, locator: jarinjar, reader: mod manifest]
[12May2026 18:56:57.427] [main/INFO] [net.neoforged.fml.loading.moddiscovery.ModDiscoverer/SCAN]: Found library file "net.neoforged.neoforge-coremods-21.1.229.jar" [parent: neoforge-21.1.229-universal.jar, locator: jarinjar, reader: mod manifest]
[12May2026 18:56:57.428] [main/INFO] [net.neoforged.fml.loading.moddiscovery.ModDiscoverer/]:
Mod List:
`Name Version (Mod Id)`
`Minecraft 1.21.1 (minecraft)`
`NeoForge 21.1.229 (neoforge)`
`YUNG's API 1.21.1-NeoForge-5.1.6 (yungsapi)`
[12May2026 18:56:57.725] [main/INFO] [mixin/]: Compatibility level set to JAVA_17
[12May2026 18:56:57.735] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments []
[12May2026 18:56:57.780] [main/WARN] [mixin/]: Reference map 'yungsapi.refmap.json' for yungsapi.mixins.json could not be read. If this is a development environment you can ignore this message
[12May2026 18:56:57.943] [main/WARN] [mixin/]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 70)
[12May2026 18:56:58.926] [main/INFO] [MixinExtras|Service/]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.5.3).
[12May2026 18:57:01.816] [main/WARN] [mixin/]: Error loading class: java/lang/Comparable (java.lang.IllegalArgumentException: Unsupported class file major version 70)
[12May2026 18:57:01.817] [main/WARN] [mixin/]: Error loading class: java/util/Iterator (java.lang.IllegalArgumentException: Unsupported class file major version 70)