Jump to content

IllegalAccessError on fresh install


Taien

Recommended Posts

Unless I'm reading this incorrectly, this seems to be a bug happening in forge?  I tried updating my Java to the most recent build of Java 8 and did install the server with the installer.

Here's the error:
 

F:\MC Forge 1.17 server>java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.17.1-37.0.27/win_args.txt
2021-08-06 15:25:07,884 main WARN Advanced terminal features are not available in this environment
[15:25:08] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 37.0.27, --fml.mcVersion, 1.17.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210706.113038]
[15:25:08] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 9.0.7+91+master.8569cdf starting: java version 16.0.1 by Oracle Corporation
[15:25:09] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments []
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39)
        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:89)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:46)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
        ... 7 more
Caused by: java.lang.IllegalAccessError: class net.minecraftforge.registries.GameData$ClearableObjectIntIdentityMap tried to access private field net.minecraft.core.IdMapper.f_122654_ (net.minecraftforge.registries.GameData$ClearableObjectIntIdentityMap is in module [email protected] of loader 'TRANSFORMER' @2f7a7219; net.minecraft.core.IdMapper is in module [email protected] of loader 'TRANSFORMER' @2f7a7219)
        at TRANSFORMER/[email protected]/net.minecraftforge.registries.GameData$ClearableObjectIntIdentityMap.clear(GameData.java:418)
        at TRANSFORMER/[email protected]/net.minecraftforge.registries.GameData$BlockCallbacks.onClear(GameData.java:471)
        at TRANSFORMER/[email protected]/net.minecraftforge.registries.ForgeRegistry.sync(ForgeRegistry.java:539)
        at TRANSFORMER/[email protected]/net.minecraftforge.registries.GameData.loadRegistry(GameData.java:695)
        at TRANSFORMER/[email protected]/net.minecraftforge.registries.GameData.vanillaSnapshot(GameData.java:269)
        at TRANSFORMER/[email protected]/net.minecraft.server.Bootstrap.m_135870_(Bootstrap.java:53)
        at TRANSFORMER/[email protected]/net.minecraft.server.Main.main(Main.java:97)
        ... 13 more

 

Edited by Taien
Link to comment
Share on other sites

  • Taien changed the title to IllegalAccessError on fresh install

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.