Jump to content

Forge server not starting?


Recommended Posts

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/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:32)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
        at cpw.mods.bootstraplauncher@1.1.2/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/fmlloader@1.19.4-45.0.57/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:29)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/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/minecraft@1.19.4/net.minecraft.world.level.levelgen.structure.pieces.StructurePieceType.<clinit>(StructurePieceType.java:79)
        at TRANSFORMER/minecraft@1.19.4/net.minecraft.core.registries.BuiltInRegistries.m_257693_(BuiltInRegistries.java:339)
        at TRANSFORMER/minecraft@1.19.4/net.minecraft.core.registries.BuiltInRegistries.m_258029_(BuiltInRegistries.java:441)
        at TRANSFORMER/minecraft@1.19.4/net.minecraft.core.registries.BuiltInRegistries.m_258037_(BuiltInRegistries.java:455)
        at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:729)
        at TRANSFORMER/minecraft@1.19.4/net.minecraft.core.registries.BuiltInRegistries.m_257453_(BuiltInRegistries.java:454)
        at TRANSFORMER/minecraft@1.19.4/net.minecraft.core.registries.BuiltInRegistries.m_257498_(BuiltInRegistries.java:448)
        at TRANSFORMER/minecraft@1.19.4/net.minecraft.server.Bootstrap.m_135870_(Bootstrap.java:49)
        at TRANSFORMER/minecraft@1.19.4/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 org.objectweb.asm@9.3.0/org.objectweb.asm.ClassReader.<init>(ClassReader.java:199)
        at org.objectweb.asm@9.3.0/org.objectweb.asm.ClassReader.<init>(ClassReader.java:180)
        at org.objectweb.asm@9.3.0/org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:75)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50)
        at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.getMaybeTransformedClassBytes(ModuleClassLoader.java:250)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.TransformingClassLoader.buildTransformedClassNodeFor(TransformingClassLoader.java:58)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.TransformerClassWriter.computeHierarchyFromFile(TransformerClassWriter.java:149)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:112)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.TransformerClassWriter.getSupers(TransformerClassWriter.java:83)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.TransformerClassWriter.getCommonSuperClass(TransformerClassWriter.java:63)
        at org.objectweb.asm@9.3.0/org.objectweb.asm.SymbolTable.addMergedType(SymbolTable.java:1202)
        at org.objectweb.asm@9.3.0/org.objectweb.asm.Frame.merge(Frame.java:1299)
        at org.objectweb.asm@9.3.0/org.objectweb.asm.Frame.merge(Frame.java:1197)
        at org.objectweb.asm@9.3.0/org.objectweb.asm.MethodWriter.computeAllFrames(MethodWriter.java:1611)
        at org.objectweb.asm@9.3.0/org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1547)
        at org.objectweb.asm.tree@9.3.0/org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:767)
        at org.objectweb.asm.tree@9.3.0/org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:647)
        at org.objectweb.asm.tree@9.3.0/org.objectweb.asm.tree.ClassNode.accept(ClassNode.java:451)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:133)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/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

 

Edited by CrisKolkman
Typo
Link to comment
Share on other sites

Use java 17

  • Like 1

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.