Mixin failuresMixinTargetAlreadyLoadedException: Required Class Loaded Prematurely
What the log looks like
org\.spongepowered\.asm\.mixin\.transformer\.throwables\.MixinTargetAlreadyLoadedException
Sponge could not apply one or more patches\. A required class was loaded prematurely!
An essential class was loaded before Sponge could patch it
How to fix it
- Rename your SpongeForge JAR file in the mods folder so it begins with an underscore or 'aaa' (for example, '_spongeforge-1.10.2-...jar') to force Forge to load Sponge's Mixin tweaker before other coremods.
- Update SpongeForge and any coremods listed above the crash banner in your log (such as Applied Energistics 2) to the latest builds available for your Minecraft version.
- If you are running Applied Energistics 2 rv4-alpha on a 1.10.2 SpongeForge server, replace it with a newer AE2 release or a SpongeForge-compatible patched build, as early alpha builds prematurely load DummyModContainer.
- Check that your installed Forge server version matches the recommended Forge build number indicated in your SpongeForge JAR filename.
- If the error continues, temporarily remove other early-loading coremods shown in the log (such as CodeChickenCore or IC2) one by one to isolate which mod is triggering premature class loading.
| Loaders | Forge, Server |
|---|
| Severity | Stops the game |
|---|
| Category | Mixin failures |
|---|
Check your own log