Jump to content

Recommended Posts

Posted (edited)

Hello,

 

Sorry @diesieben07 for considering the few versions I tested as "all versions not working". I just tried starting a server on 1.16.4 and it gave me a different error. I'd like to be able to fix this issue with running a server of any version, but for mods compatibility, I'm using some of the older versions of Forge, however the issue relates between all of them.
Here is the new log of 1.16.4:
 

[08led2021 15:46:22.748] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 35.1.4, --fml.mcpVersion, 20201102.104115, --fml.mcVersion, 1.16.4, --fml.forgeGroup, net.minecraftforge]
[08led2021 15:46:22.753] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.6+85+master.325de55 starting: java version 15.0.1 by Oracle Corporation
[08led2021 15:46:23.096] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[08led2021 15:46:23.161] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/C:/Users/pukavec/Desktop/1.16.4%20server/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=ModLauncher Env=SERVER
[08led2021 15:46:23.211] [main/WARN] [net.minecraftforge.fml.loading.FMLConfig/CORE]: Configuration file C:\Users\pukavec\Desktop\1.16.4 server\config\fml.toml is not correct. Correcting
[08led2021 15:46:23.219] [main/WARN] [net.minecraftforge.fml.loading.FMLConfig/CORE]: Incorrect key [defaultConfigPath] was corrected from null to defaultconfigs
[08led2021 15:46:23.514] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: java.lang.NoClassDefFoundError: jdk/nashorn/api/scripting/NashornScriptEngineFactory
[08led2021 15:46:23.514] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.coremod.CoreModEngine.loadCoreMod(CoreModEngine.java:48)
[08led2021 15:46:23.515] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.coremod.CoreModProvider.addCoreMod(CoreModProvider.java:12)
[08led2021 15:46:23.515] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
[08led2021 15:46:23.516] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
[08led2021 15:46:23.517] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
[08led2021 15:46:23.517] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274)
[08led2021 15:46:23.518] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
[08led2021 15:46:23.518] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
[08led2021 15:46:23.519] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
[08led2021 15:46:23.519] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[08led2021 15:46:23.520] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[08led2021 15:46:23.520] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
[08led2021 15:46:23.520] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
[08led2021 15:46:23.521] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[08led2021 15:46:23.522] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
[08led2021 15:46:23.525] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.fml.loading.LoadingModList.addCoreMods(LoadingModList.java:85)
[08led2021 15:46:23.525] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:129)
[08led2021 15:46:23.526] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:215)
[08led2021 15:46:23.526] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.fml.loading.FMLServiceProvider.runScan(FMLServiceProvider.java:107)
[08led2021 15:46:23.527] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:114)
[08led2021 15:46:23.527] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:115)
[08led2021 15:46:23.528] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
[08led2021 15:46:23.528] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1766)
[08led2021 15:46:23.528] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[08led2021 15:46:23.529] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[08led2021 15:46:23.529] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
[08led2021 15:46:23.530] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[08led2021 15:46:23.531] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
[08led2021 15:46:23.531] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:116)
[08led2021 15:46:23.532] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:63)
[08led2021 15:46:23.535] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at cpw.mods.modlauncher.Launcher.run(Launcher.java:76)
[08led2021 15:46:23.544] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
[08led2021 15:46:23.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
[08led2021 15:46:23.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
[08led2021 15:46:23.546] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
[08led2021 15:46:23.546] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]: Caused by: java.lang.ClassNotFoundException: jdk.nashorn.api.scripting.NashornScriptEngineFactory
[08led2021 15:46:23.547] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]: 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
[08led2021 15:46:23.548] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]: 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
[08led2021 15:46:23.548] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]: 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
[08led2021 15:46:23.548] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]: 	... 35 more

 

Edited by pukavec
Posted

@diesieben07 Now I'm getting this error after launching the bat file: Error: Unable to access jarfile forge-1.16.4-35.1.4.jar

The batch file content was the following:

cd C:\Program Files\Common Files\Oracle\Java\javapath
java.exe -Xms4G -Xmx4G -jar forge-1.16.4-35.1.4.jar
pause

To fix this I copied the exe into the root folder, but now I'm getting the same error again.

Posted

You didn't specify the full path, you changed the working directory from the server to Oracle's preferred Java installation, which I suspect is Java 15.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.