Posted January 14, 20241 yr My forge Minecraft server doesn't start, It keep giving these errors: Exception in thread "main" org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) at [email protected]/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:110) at [email protected]/cpw.mods.cl.ModuleClassLoader.lambda$findClass$16(ModuleClassLoader.java:216) at [email protected]/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:226) at [email protected]/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:216) at [email protected]/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:132) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) at java.base/java.lang.Class.getDeclaredMethods0(Native Method) at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3578) at java.base/java.lang.Class.getMethodsRecursive(Class.java:3719) at java.base/java.lang.Class.getMethod0(Class.java:3705) at java.base/java.lang.Class.getMethod(Class.java:2393) at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:32) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) Caused by: org.spongepowered.asm.mixin.throwables.ClassMetadataNotFoundException: java.util.concurrent.CompletableFuture at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transformMethod(MixinPreProcessorStandard.java:754) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transform(MixinPreProcessorStandard.java:739) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:310) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:280) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1288) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ... 27 more
January 14, 20241 yr Author I use java 17.0.9 SE I also used the create+ modpack for 1.18.2 (witch is the server version)
January 14, 20241 yr Add the full crash-report or latest.log (logs-folder) with sites like https://paste.ee/ and paste the link to it here Try my Modpack >>Link to Curseforge<<
January 14, 20241 yr The server is using Java 21 Remove Java 21 or set the path to the java 17 javaw.exe in your start script Try my Modpack >>Link to Curseforge<<
January 14, 20241 yr Author Sorry, First time could you tell me where i could set the path or remove Java 21.
January 14, 20241 yr In your start.bat/run.bat should be something like java -Xmx4G -Xms2048M -jar forge-1.18.2.jar pause Replace the word java with the path to the Java 17 installation For example: "C:\Program Files\Java\jdk-17.0.9\bin\javaw.exe" -Xmx4G -Xms2048M -jar forge-1.18.2.jar pause Just make sure the path is correct and keep the quotation marks Try my Modpack >>Link to Curseforge<<
January 14, 20241 yr Author I have my information such as Xms and Xmx in my user_jvn_args.txt Will the example work in there? Edited January 14, 20241 yr by coolbacon
January 14, 20241 yr You just have to replace the world "java" with the path to the java 17 installation like described above - this does not affect the other arguments Try my Modpack >>Link to Curseforge<<
January 14, 20241 yr Author ive pasted it in and checked where the javaw.exe is and for some reason after pasting in the right place forge still cant find it Error: Error: Could not find or load main class C:Program FilesJavajdk-17.0.9binjavaw.exe Caused by: java.lang.ClassNotFoundException: C:Program FilesJavajdk-17.0.9binjavaw.exe
January 14, 20241 yr Author For some reason my files don't have the ability for me to edit them in run.bat so i cant add the command and when ever i try to put the command in user_jvn_args.txt it cant find it. Do you mean for me to open the run.bat in a script editor?
January 14, 20241 yr Open it with a text editor, copy all lines and paste it here Try my Modpack >>Link to Curseforge<<
January 14, 20241 yr Author Oh i am stupid, REM Forge requires a configured set of both JVM and program arguments. REM Add custom JVM arguments to the user_jvm_args.txt REM Add custom program arguments {such as nogui} to this file in the next line before the %* or REM pass them to this script directly java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.2.0/win_args.txt %* pause
January 14, 20241 yr Change the lower part from java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.2.0/win_args.txt %* pause to "C:\Program Files\Java\jdk-17.0.9\bin\javaw.exe" @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.2.0/win_args.txt %* pause Try my Modpack >>Link to Curseforge<<
January 14, 20241 yr Author Now it shows that it has the file correctly and has paused and does nothing
January 14, 20241 yr Is there a log file in your server's logs-folder? Try my Modpack >>Link to Curseforge<<
January 14, 20241 yr Change it to "C:\Program Files\Java\jdk-17.0.9\bin\javaw.exe" -Xmx4G @libraries/net/minecraftforge/forge/1.18.2-40.2.0/win_args.txt %* pause Try my Modpack >>Link to Curseforge<<
January 14, 20241 yr Author That was odd the windows Command prompt didnt even do anything and then the java terminal pops up, should this happen?
January 14, 20241 yr Author Alright perfect and just one more thing, I have the max ram it is allowed to use at 8GB but for some reason it thinks it can only use 2GB
January 14, 20241 yr Maybe it is 2GB from the allocated RAM? Check the Task Manager - doe the Java Application use about 8 GB RAM? Try my Modpack >>Link to Curseforge<<
January 14, 20241 yr Restart the server and add the log from the logs-folder Add the log with sites like https://paste.ee/ and paste the link to it here Try my Modpack >>Link to Curseforge<<
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.