Create: The Factory Must Grow

Create: The Factory Must Grow

4M Downloads

Getting NoClassDefFoundError on 1.21.1

N3ONATIC opened this issue ยท 4 comments

commented
Image I'm trying this with Create version 6.0.4 and also Latest till' this day 6.0.6. Both seem to not work when the only mods I'm trying are Create and TFMG.
Description: Mod loading failures have occurred; consult the issue messages for more details
net.neoforged.neoforge.logging.CrashReportExtender$ModLoadingCrashException: Mod loading has failed
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
	at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:220) ~[securejarhandler-3.0.8.jar:?] {}
-- Mod loading issue for: tfmg --
Details:
	Caused by 0: java.lang.NoClassDefFoundError: com/simibubi/create/content/processing/recipe/StandardProcessingRecipe$Factory
		at TRANSFORMER/[email protected]/com.drmangotea.tfmg.registry.TFMGRecipeTypes.<clinit>(TFMGRecipeTypes.java:31) ~[tfmg-1.1.0c.jar%23195!/:?] {re:classloading}
		at TRANSFORMER/[email protected]/com.drmangotea.tfmg.TFMG.<init>(TFMG.java:78) ~[tfmg-1.1.0c.jar%23195!/:?] {re:classloading}
		at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source) ~[?:?] {}
		at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source) ~[?:?] {}
		at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:?] {}
		at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:115) ~[loader-4.0.41.jar%23152!/:4.0] {}
		at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.lambda$constructMods$3(ModLoader.java:153) ~[loader-4.0.41.jar%23152!/:4.0] {re:mixin}
		at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.lambda$dispatchParallelTask$7(ModLoader.java:231) ~[loader-4.0.41.jar%23152!/:4.0] {re:mixin}
		at java.base/java.util.concurrent.CompletableFuture.uniHandle(Unknown Source) ~[?:?] {re:mixin}
		at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(Unknown Source) ~[?:?] {}
		at java.base/java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source) ~[?:?] {}
		at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:?] {}
		at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) ~[?:?] {}
		at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source) ~[?:?] {re:computing_frames}
		at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:?] {re:computing_frames}
		at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:?] {}
	Mod file: /C:/Users/darkt/AppData/Roaming/ModrinthApp/profiles/Create_ Think Bigger_ V2.3/mods/tfmg-1.1.0c.jar
	Failure message: Create: The Factory Must Grow (tfmg) has failed to load correctly
		java.lang.NoClassDefFoundError: com/simibubi/create/content/processing/recipe/StandardProcessingRecipe$Factory
	Mod version: 1.1.0c
	Mod issues URL: <No issues URL found>
	Exception message: java.lang.ClassNotFoundException: com.simibubi.create.content.processing.recipe.StandardProcessingRecipe$Factory
Stacktrace:
	at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:220) ~[securejarhandler-3.0.8.jar:?] {}
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?] {}
	at TRANSFORMER/[email protected]/com.drmangotea.tfmg.registry.TFMGRecipeTypes.<clinit>(TFMGRecipeTypes.java:31) ~[tfmg-1.1.0c.jar%23195!/:?] {re:classloading}
	at TRANSFORMER/[email protected]/com.drmangotea.tfmg.TFMG.<init>(TFMG.java:78) ~[tfmg-1.1.0c.jar%23195!/:?] {re:classloading}
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source) ~[?:?] {}
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source) ~[?:?] {}
	at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:?] {}
	at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:115) ~[loader-4.0.41.jar%23152!/:4.0] {}
	at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.lambda$constructMods$3(ModLoader.java:153) ~[loader-4.0.41.jar%23152!/:4.0] {re:mixin}
	at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.ModLoader.lambda$dispatchParallelTask$7(ModLoader.java:231) ~[loader-4.0.41.jar%23152!/:4.0] {re:mixin}
	at java.base/java.util.concurrent.CompletableFuture.uniHandle(Unknown Source) ~[?:?] {re:mixin}
	at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(Unknown Source) ~[?:?] {}
	at java.base/java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source) ~[?:?] {}
	at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:?] {}
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) ~[?:?] {}
	at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source) ~[?:?] {re:computing_frames}
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:?] {re:computing_frames}
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:?] {}

Here is the mods list also:

Mod List: 
		create-1.21.1-6.0.4.jar                           |Create                        |create                        |6.0.4               |Manifest: NOSIGNATURE
		tfmg-1.1.0c.jar                                   |Create: The Factory Must Grow |tfmg                          |1.1.0c              |Manifest: NOSIGNATURE
		flywheel-neoforge-1.21.1-1.0.2.jar                |Flywheel                      |flywheel                      |1.0.2               |Manifest: NOSIGNATURE
		client-1.21.1-20240808.144430-srg.jar             |Minecraft                     |minecraft                     |1.21.1              |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
		neoforge-21.1.205-universal.jar                   |NeoForge                      |neoforge                      |21.1.205            |Manifest: NOSIGNATURE
		Ponder-NeoForge-1.21.1-1.0.46.jar                 |Ponder                        |ponder                        |1.0.46              |Manifest: NOSIGNATURE
	Crash Report UUID: 9a056691-e61e-4baf-b7a8-a560b472ea88
	FML: 4.0.41
	NeoForge: 21.1.205
	Flywheel Backend: flywheel:off
commented

I can reproduce your error using the same versions. However, updating create from version 6.0.4 to 6.0.6 fixed the issue. Therefore, my suggestion to you is to upgrade create. My suggestion to the project is to update the minimum required version of create. While trying to do this myself, I found create is not even listed as a dependency in neoforge.mods.toml.

commented

It still doesn't work on Latest with same issue, as I mentioned I tried it on both versions.

commented

With the following versions:

     Mod List:
		Name Version (Mod Id)

		Create 6.0.6 (create)
		Create: The Factory Must Grow 1.1.0c (tfmg)
		Flywheel 1.0.4 (flywheel)
		Minecraft 1.21.1 (minecraft)
		NeoForge 21.1.205 (neoforge)
		Ponder 1.0.56 (ponder) 

my client loads absolutely fine. Do you have a crash log using create 6.0.6?

commented

Nevermind, I guess it does work this time, however I have a few other mods that have issues being run on 6.0.4+ versions so I can't really update from there.