All the Mods 10 - ATM10

All the Mods 10 - ATM10

166k Downloads

[Crash]: Server Won't Launch - NoClassDefFoundError and ClassNotFoundException

dizzydre21 opened this issue · 8 comments

commented

Possible Fixes

Yes

Modpack Version

10-0.45

What happened?

I am attempting to launch my server via docker-compose and have received some java related errors that prevent it from running. I also see an error complaining that accesstransformer.cfg provided by allthewizardgear does not exist. I just created a blank file that was named accesstranformer.cfg in the appropriate location and that particular error went away, but I don't know if that is okay to do or not. All errors are below and any help is much appreciated.

[17:41:30.160] [main/ERROR] [loading.moddiscovery.ModFile/LOADING]: Access transformer file META-INF/accesstransformer.cfg provided by mod allthewizardgear does not exist!

Exception in thread "main" java.lang.RuntimeException: java.lang.NoClassDefFoundError: net/caffeinemc/mods/sodium/client/services/PlatformRuntimeInformation
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:32)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:103)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:74)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
dakota-JavaForge_ATM10-1  |     at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.run(BootstrapLauncher.java:210)
dakota-JavaForge_ATM10-1  |     at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:69)
dakota-JavaForge_ATM10-1  | Caused by: java.lang.NoClassDefFoundError: net/caffeinemc/mods/sodium/client/services/PlatformRuntimeInformation
dakota-JavaForge_ATM10-1  |     at TRANSFORMER/[email protected]+mc1.21.1/me.flashyreese.mods.sodiumextra.client.SodiumExtraClientMod.mixinConfig(SodiumExtraClientMod.java:79)
dakota-JavaForge_ATM10-1  |     at TRANSFORMER/[email protected]+mc1.21.1/me.flashyreese.mods.sodiumextra.mixin.SodiumExtraMixinConfigPlugin.createConfig(SodiumExtraMixinConfigPlugin.java:13)
dakota-JavaForge_ATM10-1  |     at TRANSFORMER/[email protected]+mc1.21.1/net.caffeinemc.caffeineconfig.AbstractCaffeineConfigMixinPlugin.onLoad(AbstractCaffeineConfigMixinPlugin.java:16)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.PluginHandle.onLoad(PluginHandle.java:119)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinConfig.onSelect(MixinConfig.java:790)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.selectConfigs(MixinProcessor.java:498)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:460)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:438)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:290)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:94)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:57)
dakota-JavaForge_ATM10-1  |     at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:190)
dakota-JavaForge_ATM10-1  |     at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.lambda$findClass$20(ModuleClassLoader.java:298)
dakota-JavaForge_ATM10-1  |     at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:311)
dakota-JavaForge_ATM10-1  |     at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:298)
dakota-JavaForge_ATM10-1  |     at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
dakota-JavaForge_ATM10-1  |     at java.base/java.lang.Class.forName(Unknown Source)
dakota-JavaForge_ATM10-1  |     at java.base/java.lang.Class.forName(Unknown Source)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.ImmediateWindowHandler$DummyProvider.lambda$updateModuleReads$1(ImmediateWindowHandler.java:173)
dakota-JavaForge_ATM10-1  |     at java.base/java.util.Optional.map(Unknown Source)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.ImmediateWindowHandler$DummyProvider.updateModuleReads(ImmediateWindowHandler.java:173)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.ImmediateWindowHandler.acceptGameLayer(ImmediateWindowHandler.java:94)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.FMLLoader.beforeStart(FMLLoader.java:160)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.launchService(CommonLaunchHandler.java:115)
dakota-JavaForge_ATM10-1  |     at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
dakota-JavaForge_ATM10-1  |     ... 8 more
dakota-JavaForge_ATM10-1  | Caused by: java.lang.ClassNotFoundException: net.caffeinemc.mods.sodium.client.services.PlatformRuntimeInformation
dakota-JavaForge_ATM10-1  |     at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
dakota-JavaForge_ATM10-1  |     at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
dakota-JavaForge_ATM10-1  |     at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:216)
dakota-JavaForge_ATM10-1  |     at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
dakota-JavaForge_ATM10-1  |     at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:216)
dakota-JavaForge_ATM10-1  |     at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
dakota-JavaForge_ATM10-1  |     ... 38 more
dakota-JavaForge_ATM10-1  | 2024-09-04T17:41:34.497Z    WARN    mc-server-runner        Minecraft server failed. Inspect logs above for errors that indicate cause. DO NOT report this line as an error.  {"exitCode": 1}
dakota-JavaForge_ATM10-1  | 2024-09-04T17:41:34.497Z    INFO    mc-server-runner        Done
dakota-JavaForge_ATM10-1 exited with code 0

Crash Log

https://gist.github.com/dizzydre21/7771da39d7de6fd01272fd9641559102

Latest.Log

https://gist.github.com/dizzydre21/9a421259fc16604cf2a2e7ee42088376

commented

Looks like you are using the itzg minecraft server, here is the ENV to fix all the issues I've had relating to mods having issues running the server to this point.

CF_EXCLUDE_MODS: 986380,520110,394468,447673
      # 986380 lighty
      # 520110 Iceberg
      # 394468 Sodium
      # 447673 Sodium Extra
commented
commented

I only run my services inside container engines like docker, itzg has been pretty much the only minecraft server container that has been consistent, and I've used for a meaningful amount of time.

It comes down to the server downloading the client version of the pack and just needs to have the mods that are client only excluded.

commented
commented
commented

These are just client mods that need to be excluded from the server configs.

It doesn't know how to render anything.

commented

The clients need all the mods (pun intended)

But prism has an option to install directly from curseforge, and manage all the updates as well.

commented

Thank you for pointing that out!
I had the same issue with another modpack and solved it a little different.
Since I don't like to disable mods by hand with every update, also I don't even know what mods I need to disable. I choose a different setup where I download the specific server pack that already exists on CF.

For your example with ATM10 https://www.curseforge.com/minecraft/modpacks/all-the-mods-10/files/5748258/additional-files you can see the additional files there are server files. I grab the link from those and pre-download it and then mount it into my container as a generic pack.