Create: The Factory Must Grow

Create: The Factory Must Grow

4M Downloads

Inconsistently getting NoClassDefFoundError on 1.21.1

W74-Pizza opened this issue ยท 1 comments

commented

I made a fresh modpack, put just create and TFMG in it, and it worked fine.

I try to bring it to another modpack, with just some config files copied over, all other mods disabled, and I get this error:

Image

Copy pasted segment from the log file, with some extra lines copied in case they contain important information.

[11avg.2025 01:57:32.404] [Render thread/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[11avg.2025 01:57:32.411] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: W74
[11avg.2025 01:57:32.491] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.3.3+5
[11avg.2025 01:57:32.704] [modloading-worker-0/INFO] [net.neoforged.neoforge.common.NeoForgeMod/NEOFORGE-MOD]: NeoForge mod loading, version 21.1.197, for MC 1.21.1
[11avg.2025 01:57:32.760] [modloading-worker-0/INFO] [com.simibubi.create.Create/]: Create 6.0.4 initializing! Commit hash: 6b3aafbec8d6942e3be7f66e81e5b20fa94f7c29
[11avg.2025 01:57:33.230] [modloading-worker-0/ERROR] [net.neoforged.fml.javafmlmod.FMLModContainer/LOADING]: Failed to create mod instance. ModID: tfmg, class com.drmangotea.tfmg.TFMG
java.lang.NoClassDefFoundError: com/simibubi/create/content/processing/recipe/StandardProcessingRecipe$Factory
at TRANSFORMER/[email protected]/com.drmangotea.tfmg.registry.TFMGRecipeTypes.(TFMGRecipeTypes.java:32) ~[tfmg-1.0.2f.jar%23193!/:?]
at TRANSFORMER/[email protected]/com.drmangotea.tfmg.TFMG.(TFMG.java:82) ~[tfmg-1.0.2f.jar%23193!/:?]
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) ~[?:?]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:115) ~[loader-4.0.41.jar%23107!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.lambda$constructMods$3(ModLoader.java:153) ~[loader-4.0.41.jar%23107!/:4.0]
at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.lambda$dispatchParallelTask$7(ModLoader.java:231) ~[loader-4.0.41.jar%23107!/:4.0]
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) [?:?]
at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911) [?:?]
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483) [?:?]
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) [?:?]
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) [?:?]
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) [?:?]
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) [?:?]
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) [?:?]
Caused by: java.lang.ClassNotFoundException: com.simibubi.create.content.processing.recipe.StandardProcessingRecipe$Factory
at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:220) ~[securejarhandler-3.0.8.jar:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
... 16 more
[11avg.2025 01:57:33.590] [Render thread/FATAL] [net.neoforged.fml.ModLoader/LOADING]: Failed to wait for future Mod Construction, 1 errors found
[11avg.2025 01:57:33.610] [Render thread/WARN] [net.minecraft.client.Options/]: Removed resource pack fabric from options because it doesn't seem to exist anymore
[11avg.2025 01:57:33.610] [Render thread/WARN] [net.minecraft.client.Options/]: Removed resource pack mod_resources from options because it doesn't seem to exist anymore
[11avg.2025 01:57:33.610] [Render thread/WARN] [net.minecraft.client.Options/]: Removed resource pack moonlight:mods_dynamic_assets from options because it doesn't seem to exist anymore

It's the same minecraft version, same mod versions. I delete EVERY config file, the options file, and it still doesn't work.

I know astronomically little about coding, so I'm really sorry if I don't give any info you need.

commented

Did you accidentally disable create alongside the other mods?