Jump to content

Minecraft 1.16.5 - Forge-1.16.5-36.2.23 - Crashes with java.lang.NoSuchMethodError


theGamer93

Recommended Posts

Hello,

I try to run Forge 1.16.5-36.2.23 on Ubuntu 20.04 with JDK 1.8.0 and I am getting java.lang.NoSuchMethodError when running the Server. I also tried Version 36.2.22 and 36.2.20 with the same error.

 

2022-01-13 12:22:21,271 main ERROR Incorrect number of options on minecraftFormatting. Expected at least 1, max 2 received 0
2022-01-13 12:22:21,273 main WARN Class net.minecrell.terminalconsole.MinecraftFormattingConverter does not extend PatternConverter.
2022-01-13 12:22:21,273 main ERROR Unrecognized conversion specifier [minecraftFormatting] starting at position 90 in conversion pattern.
2022-01-13 12:22:21,274 main ERROR Error creating converter for tEx java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.logging.log4j.core.pattern.PatternParser.createConverter(PatternParser.java:582)
        at org.apache.logging.log4j.core.pattern.PatternParser.finalizeConverter(PatternParser.java:638)
        at org.apache.logging.log4j.core.pattern.PatternParser.parse(PatternParser.java:414)
        at org.apache.logging.log4j.core.pattern.PatternParser.parse(PatternParser.java:177)
        at net.minecrell.terminalconsole.util.LoggerNamePatternSelector.<init>(LoggerNamePatternSelector.java:111)
        at net.minecrell.terminalconsole.util.LoggerNamePatternSelector.createSelector(LoggerNamePatternSelector.java:159)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:132)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:952)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:892)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:508)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:232)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:244)
        at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:545)
        at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:617)
        at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:634)
        at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:229)
        at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
        at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
        at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
        at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)
        at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
        at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
        at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
        at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
        at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
Caused by: java.lang.NoSuchMethodError: org.apache.logging.log4j.core.pattern.ThrowablePatternConverter.<init>(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Lorg/apache/logging/log4j/core/config/Configuration;)V
        at cpw.mods.modlauncher.log.TransformingThrowablePatternConverter.<init>(TransformingThrowablePatternConverter.java:45)
        at cpw.mods.modlauncher.log.TransformingThrowablePatternConverter.newInstance(TransformingThrowablePatternConverter.java:79)
        ... 36 more

2022-01-13 12:22:21,275 main ERROR Unrecognized conversion specifier [tEx] starting at position 113 in conversion pattern.
2022-01-13 12:22:21,276 main ERROR Incorrect number of options on minecraftFormatting. Expected at least 1, max 2 received 0
2022-01-13 12:22:21,276 main WARN Class net.minecrell.terminalconsole.MinecraftFormattingConverter does not extend PatternConverter.
2022-01-13 12:22:21,276 main ERROR Unrecognized conversion specifier [minecraftFormatting] starting at position 86 in conversion pattern.
2022-01-13 12:22:21,277 main ERROR Error creating converter for tEx java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.logging.log4j.core.pattern.PatternParser.createConverter(PatternParser.java:582)
        at org.apache.logging.log4j.core.pattern.PatternParser.finalizeConverter(PatternParser.java:638)
        at org.apache.logging.log4j.core.pattern.PatternParser.parse(PatternParser.java:414)
        at org.apache.logging.log4j.core.pattern.PatternParser.parse(PatternParser.java:177)
        at net.minecrell.terminalconsole.util.LoggerNamePatternSelector.<init>(LoggerNamePatternSelector.java:114)
        at net.minecrell.terminalconsole.util.LoggerNamePatternSelector.createSelector(LoggerNamePatternSelector.java:159)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:132)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:952)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:892)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:508)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:232)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:244)
        at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:545)
        at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:617)
        at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:634)
        at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:229)
        at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
        at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
        at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
        at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)
        at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
        at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
        at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
        at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
        at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
Caused by: java.lang.NoSuchMethodError: org.apache.logging.log4j.core.pattern.ThrowablePatternConverter.<init>(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Lorg/apache/logging/log4j/core/config/Configuration;)V
        at cpw.mods.modlauncher.log.TransformingThrowablePatternConverter.<init>(TransformingThrowablePatternConverter.java:45)
        at cpw.mods.modlauncher.log.TransformingThrowablePatternConverter.newInstance(TransformingThrowablePatternConverter.java:79)
        ... 36 more

2022-01-13 12:22:21,278 main ERROR Unrecognized conversion specifier [tEx] starting at position 109 in conversion pattern.
2022-01-13 12:22:21,278 main ERROR Incorrect number of options on minecraftFormatting. Expected at least 1, max 2 received 0
2022-01-13 12:22:21,278 main WARN Class net.minecrell.terminalconsole.MinecraftFormattingConverter does not extend PatternConverter.
2022-01-13 12:22:21,279 main ERROR Unrecognized conversion specifier [minecraftFormatting] starting at position 83 in conversion pattern.
2022-01-13 12:22:21,279 main ERROR Error creating converter for tEx java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.logging.log4j.core.pattern.PatternParser.createConverter(PatternParser.java:582)
        at org.apache.logging.log4j.core.pattern.PatternParser.finalizeConverter(PatternParser.java:638)
        at org.apache.logging.log4j.core.pattern.PatternParser.parse(PatternParser.java:414)
        at org.apache.logging.log4j.core.pattern.PatternParser.parse(PatternParser.java:177)
        at net.minecrell.terminalconsole.util.LoggerNamePatternSelector.<init>(LoggerNamePatternSelector.java:114)
        at net.minecrell.terminalconsole.util.LoggerNamePatternSelector.createSelector(LoggerNamePatternSelector.java:159)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:132)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:952)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:892)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:508)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:232)
        at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:244)
        at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:545)
        at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:617)
        at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:634)
        at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:229)
        at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
        at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
        at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
        at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)
        at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
        at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
        at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
        at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
        at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
Caused by: java.lang.NoSuchMethodError: org.apache.logging.log4j.core.pattern.ThrowablePatternConverter.<init>(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Lorg/apache/logging/log4j/core/config/Configuration;)V
        at cpw.mods.modlauncher.log.TransformingThrowablePatternConverter.<init>(TransformingThrowablePatternConverter.java:45)
        at cpw.mods.modlauncher.log.TransformingThrowablePatternConverter.newInstance(TransformingThrowablePatternConverter.java:79)
        ... 36 more

2022-01-13 12:22:21,280 main ERROR Unrecognized conversion specifier [tEx] starting at position 106 in conversion pattern.
[32m[12:22:21] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [mixin/]: %minecraftFormatting[m
%tEx}[1;31m[12:22:21] [main/FATAL] [ne.mi.fm.lo.FMLCommonLaunchHandler/CORE]: %minecraftFormatting[m
%tEx}Exception in thread "main" [32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}[32m[12:22:21] [main/INFO] [STDERR/]: %minecraftFormatting[m
%tEx}

running it on my pc via Windows CMD 

java -Xmx2048M -Xms2048M -jar forge-1.16.5-36.2.23 nogui

works flawless. I also have the same java version on my pc.

 

Any ideas what I am missing here?

Link to comment
Share on other sites

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.