Hello,
I hope you can help me out here.
I'm trying to set up a modded Minecraft server for my sons but the server keeps crashing, see below for the full text after running run.bat
2023-05-06 16:02:28,235 main WARN Advanced terminal features are not available in this environment
[16:02:28] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 45.0.57, --fml.mcVersion, 1.19.4, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230314.122934]
[16:02:28] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 20.0.1 by Oracle Corporation; OS Windows Server 2016 arch amd64 version 10.0
[16:02:29] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/E:/MineCraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER
[16:02:30] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file E:\MineCraft\libraries\net\minecraftforge\fmlcore\1.19.4-45.0.57\fmlcore-1.19.4-45.0.57.jar is missing mods.toml file
[16:02:30] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file E:\MineCraft\libraries\net\minecraftforge\javafmllanguage\1.19.4-45.0.57\javafmllanguage-1.19.4-45.0.57.jar is missing mods.toml file
[16:02:30] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file E:\MineCraft\libraries\net\minecraftforge\lowcodelanguage\1.19.4-45.0.57\lowcodelanguage-1.19.4-45.0.57.jar is missing mods.toml file
[16:02:30] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file E:\MineCraft\libraries\net\minecraftforge\mclanguage\1.19.4-45.0.57\mclanguage-1.19.4-45.0.57.jar is missing mods.toml file
[16:02:30] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: No dependencies to load found. Skipping!
[16:02:38] [main/INFO] [mixin/]: Compatibility level set to JAVA_17
[16:02:38] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments []
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:32)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at
[email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at MC-BOOTSTRAP/
[email protected]/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:29)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
... 7 more
Caused by: java.lang.BootstrapMethodError: java.lang.IllegalArgumentException: Unsupported class file major version 64
at TRANSFORMER/
[email protected]/net.minecraft.world.level.levelgen.structure.pieces.StructurePieceType.<clinit>(StructurePieceType.java:79)
at TRANSFORMER/
[email protected]/net.minecraft.core.registries.BuiltInRegistries.m_257693_(BuiltInRegistries.java:339)
at TRANSFORMER/
[email protected]/net.minecraft.core.registries.BuiltInRegistries.m_258029_(BuiltInRegistries.java:441)
at TRANSFORMER/
[email protected]/net.minecraft.core.registries.BuiltInRegistries.m_258037_(BuiltInRegistries.java:455)
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:729)
at TRANSFORMER/
[email protected]/net.minecraft.core.registries.BuiltInRegistries.m_257453_(BuiltInRegistries.java:454)
at TRANSFORMER/
[email protected]/net.minecraft.core.registries.BuiltInRegistries.m_257498_(BuiltInRegistries.java:448)
at TRANSFORMER/
[email protected]/net.minecraft.server.Bootstrap.m_135870_(Bootstrap.java:49)
at TRANSFORMER/
[email protected]/net.minecraft.server.Main.main(Main.java:121)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 10 more
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 64
at
[email protected]/org.objectweb.asm.ClassReader.<init>(ClassReader.java:199)
at
[email protected]/org.objectweb.asm.ClassReader.<init>(ClassReader.java:180)
at
[email protected]/org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:75)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50)
at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.getMaybeTransformedClassBytes(ModuleClassLoader.java:250)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.TransformingClassLoader.buildTransformedClassNodeFor(TransformingClassLoader.java:58)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.TransformerClassWriter.computeHierarchyFromFile(TransformerClassWriter.java:149)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:112)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.TransformerClassWriter.getSupers(TransformerClassWriter.java:83)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.TransformerClassWriter.getCommonSuperClass(TransformerClassWriter.java:63)
at
[email protected]/org.objectweb.asm.SymbolTable.addMergedType(SymbolTable.java:1202)
at
[email protected]/org.objectweb.asm.Frame.merge(Frame.java:1299)
at
[email protected]/org.objectweb.asm.Frame.merge(Frame.java:1197)
at
[email protected]/org.objectweb.asm.MethodWriter.computeAllFrames(MethodWriter.java:1611)
at
[email protected]/org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1547)
at
[email protected]/org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:767)
at
[email protected]/org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:647)
at
[email protected]/org.objectweb.asm.tree.ClassNode.accept(ClassNode.java:451)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:133)
at MC-BOOTSTRAP/
[email protected]/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50)
at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113)
at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219)
at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229)
at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219)
at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 20 more
Press any key to continue . . .
I installed Forge server in the same directory as Minecraft server:
E:\MineCraft>dir
Volume in drive E is Data
Volume Serial Number is 10AB-93ED
Directory of E:\MineCraft
06-05-2023 15:53 <DIR> .
06-05-2023 15:53 <DIR> ..
06-05-2023 15:42 2 banned-ips.json
06-05-2023 15:42 2 banned-players.json
06-05-2023 15:53 <DIR> config
06-05-2023 15:53 <DIR> defaultconfigs
06-05-2023 14:54 159 eula.txt
06-05-2023 15:51 <DIR> libraries
06-05-2023 16:02 <DIR> logs
06-05-2023 15:58 <DIR> mods
06-05-2023 15:42 2 ops.json
06-05-2023 15:51 374 run.bat
06-05-2023 15:51 366 run.sh
06-05-2023 14:51 47.515.675 server.jar
06-05-2023 15:42 1.331 server.properties
06-05-2023 15:42 2 usercache.json
06-05-2023 16:02 350 user_jvm_args.txt
06-05-2023 14:53 <DIR> versions
06-05-2023 14:56 2 whitelist.json
06-05-2023 15:47 <DIR> world
11 File(s) 47.518.265 bytes
9 Dir(s) 456.563.163.136 bytes free