Jump to content

Unable to make BootstrapLauncher.main accessible [1.18.2]


Recommended Posts

Hi, im setting up a mod in 1.18.2, but when i try to launch the Minecraft Client im getting this error:

Exception in thread "main" java.lang.reflect.InaccessibleObjectException: Unable to make public static void cpw.mods.bootstraplauncher.BootstrapLauncher.main(java.lang.String[]) accessible: module cpw.mods.bootstraplauncher does not "exports cpw.mods.bootstraplauncher" to unnamed module @726f3b58
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
	at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
	at com.intellij.rt.execution.application.AppMainV2.main(AppMainV2.java:130)

 Anyone can help me?

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.

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.

  • Create New...

Important Information

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