Startup Issue with Minecraft - The server doesn't start. Status is "Starting" forever

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Decadeus’ v2.4.8.0 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Starting

Problem Description

Issue

The server will not start. That’s it.

Reproduction Steps

  • Press the button to start the server.
  • Waited for the server to start.
  • Waited and waited.

The forum doesn’t allow me to post the whole console log, so here’s the last part.

?7java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER,

Reforgium (reforgium) has failed to load correctly

?7java.lang.ExceptionInInitializerError: null,

Neko’s Enchanted Books (nebs) has failed to load correctly

?7java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/ClientLevel for invalid dist DEDICATED_SERVER,

Bocchium (bocchium) has failed to load correctly

?7java.lang.RuntimeException: Attempted to load class net/minecraft/client/Minecraft for invalid dist DEDICATED_SERVER,

RyoamicLights (ryoamiclights) has failed to load correctly

?7java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER,

Euphoria Patcher (euphoria_patcher) has failed to load correctly

?7java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/ArchiveException,

Connectedness (connectedness) has failed to load correctly

?7java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/ClientPacketListener for invalid dist DEDICATED_SERVER,

Entity Model Features (entity_model_features) has failed to load correctly

?7java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER,

Entity Texture Features (entity_texture_features) has failed to load correctly

?7java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER,

Legendary Tooltips (legendarytooltips) has failed to load correctly

?7java.lang.ExceptionInInitializerError: null

]

at net.minecraftforge.fml.ModLoader.waitForTransition(ModLoader.java:243) ~[fmlcore-1.19.2-43.3.5.jar%23698!/:?] {}

at net.minecraftforge.fml.ModLoader.lambda$dispatchAndHandleError$24(ModLoader.java:208) ~[fmlcore-1.19.2-43.3.5.jar%23698!/:?] {}

at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] {re:mixin}

at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:208) ~[fmlcore-1.19.2-43.3.5.jar%23698!/:?] {}

at net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$14(ModLoader.java:185) ~[fmlcore-1.19.2-43.3.5.jar%23698!/:?] {}

at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {re:mixin}

at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:185) ~[fmlcore-1.19.2-43.3.5.jar%23698!/:?] {}

at net.minecraftforge.server.loading.ServerModLoader.load(ServerModLoader.java:32) ~[forge-1.19.2-43.3.5-universal.jar%23702!/:?] {re:classloading}

at net.minecraft.server.Main.main(Main.java:113) ~[server-1.19.2-20220805.130853-srg.jar%23697!/:?] {re:classloading,re:mixin,pl:mixin:A}

at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?] {}

at java.lang.reflect.Method.invoke(Method.java:577) ~[?:?] {}

at net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:29) ~[fmlloader-1.19.2-43.3.5.jar%2367!/:?] {}

at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2354!/:?] {}

at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2354!/:?] {}

at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2354!/:?] {}

at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2354!/:?] {}

at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2354!/:?] {}

at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2354!/:?] {}

at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2354!/:?] {}

at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {}

From the error there it looks like you’re trying to load client-only mods on the server. Eg:

Connectedness (connectedness) has failed to load correctly

?7java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/ClientPacketListener for invalid dist DEDICATED_SERVER,

If you’re using a downloaded modpack, make sure to use the server pack (usually found on the modpack’s page) rather than uploading your client mods.

Otherwise it could be that the server has started, but the start message has changed due to some mod, preventing AMP from detecting the change. If that’s the case, you should be able to join the server fine.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.