java.lang.IllegalAccessException: Class cpw.mods.fml.common.modloader.ModLoaderModContainer can not access a member of class mod_GenTest with modifiers "static"


Solutions on the web

Solution icon of web
via minecraftforge.net by Unknown author, 9 months ago
Class cpw.mods.fml.common.modloader.ModLoaderModContainer can not access a member of class mod_GenTest with modifiers "static"

Solution icon of coderanch
via Coderanch by Travel Mug, 11 months ago
Class com.ibm.websphere.client.applicationclient.launchClient can not access a member of class com.crsoft.crs.client.ui.application.main.CRSApplication with modifiers "public static"

Solution icon of github
via GitHub by phreed
, 1 week ago
Class com.simontuffs.onejar.Boot can not access a member of class catdata.ide.IDE with modifiers "public static transient"

Solution icon of github
via GitHub by Eufranio
, 9 months ago
Class com.github.games647.scoreboardstats.variables.defaults.PlayerPingVariable can not access a member of class net.minecraft.entity.player.EntityPlayerMP with modifiers "private static final"

Solution icon of github
Class sbt.Run can not access a member of class com.micronautics.akka.dispatch.futureJava.ZipBlocking with modifiers "public static"

Solution icon of sourceforge
Class com.vmware.vim25.ws.XmlGen can not access a member of class java.lang.Throwable with modifiers "private static final"

Solution icon of stackoverflow
Class org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader can not access a member of class me.Puffinlump.ItemDivider.Minecraftitemsdivider with modifiers "public static"

Solution icon of stackoverflow
Class org.apache.spark.deploy.SparkSubmit$ can not access a member of class jpsgcs.thold.AnyOldClass with modifiers "public static"

Solution icon of web
Class org.apache.commons.discovery.log.DiscoveryLogFactory can not access a member of class org.apache.commons.discovery.jdk.JDK12Hooks with modifiers "public static"

Solution icon of oraclecommunity
via Oracle Community by 843830, 1 year ago
Class com.sun.enterprise.util.Utility can not access a member of class SalaryClient with modifiers "public static"

Stack trace

java.lang.IllegalAccessException: Class cpw.mods.fml.common.modloader.ModLoaderModContainer can not access a member of class mod_GenTest with modifiers "static"
	at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
	at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(Unknown Source)
	at java.lang.reflect.AccessibleObject.checkAccess(Unknown Source)
	at java.lang.reflect.Field.doSecurityCheck(Unknown Source)
	at java.lang.reflect.Field.getFieldAccessor(Unknown Source)
	at java.lang.reflect.Field.get(Unknown Source)
	at cpw.mods.fml.common.modloader.ModLoaderModContainer.configureMod(ModLoaderModContainer.java:176)
	at cpw.mods.fml.common.modloader.ModLoaderModContainer.constructMod(ModLoaderModContainer.java:489)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
	at cpw.mods.fml.common.Loader.loadMods(Loader.java:478)
	at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:150)
	at net.minecraft.client.Minecraft.a(Minecraft.java:424)
	at net.minecraft.client.Minecraft.run(Minecraft.java:756)
	at java.lang.Thread.run(Unknown Source)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 1 week ago
2 times, 4 months ago
2 times, 7 months ago
Once, 9 months ago
Once, 11 months ago
38 more bugmates