1.10.2 forge server not starting with sponge

I am using forge 2185 with spongeforge-1.10.2-2171-5.1.0-BETA-2010.

5:09:12 PM CONSOLE: Server VM warning: ignoring option PermSize=512m; support was removed in 8.0
5:09:12 PM CONSOLE: Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0
5:09:13 PM CONSOLE: [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
5:09:13 PM CONSOLE: [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
5:09:13 PM CONSOLE: [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
5:09:14 PM CONSOLE: WARN Disabling terminal, you’re running in an unsupported environment.
5:09:14 PM CONSOLE: [FML]: Forge Mod Loader version 12.18.3.2185 for Minecraft 1.10.2 loading
5:09:14 PM CONSOLE: [FML]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_111, running on Linux:amd64:3.14.32-xxxx-grs-ipv6-64, installed at /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-1.b15.el7_2.x86_64/jre
5:09:14 PM CONSOLE: [FML]: The coremod aroma1997.core.coremod.CoreMod does not have a MCVersion annotation, it may cause issues with this version of Minecraft
5:09:14 PM CONSOLE: [FML]: The coremod team.chisel.common.asm.ChiselCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
5:09:16 PM CONSOLE: [FML]: The coremod codechicken.lib.asm.CCLCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
5:09:16 PM CONSOLE: [FML]: The coremod pl.asie.foamfix.coremod.FoamFixCore does not have a MCVersion annotation, it may cause issues with this version of Minecraft
5:09:16 PM CONSOLE: [FML]: The coremod net.shadowfacts.forgelin.ForgelinPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
5:09:16 PM CONSOLE: [FML]: The coremod ic2.core.coremod.IC2core does not have a MCVersion annotation, it may cause issues with this version of Minecraft
5:09:16 PM CONSOLE: [FML]: The coremod invtweaks.forge.asm.FMLPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
5:09:16 PM CONSOLE: [FML]: The coremod mekanism.common.launch.LoadingHook does not have a MCVersion annotation, it may cause issues with this version of Minecraft
5:09:16 PM CONSOLE: [FML]: The coremod lumien.resourceloader.asm.LoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
5:09:16 PM CONSOLE: [FML]: The coremod shetiphian.core.asm.TweakPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
5:09:16 PM CONSOLE: [FML]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from spongeforge-1.10.2-2092-5.0.0-BETA-1786.jar
5:09:16 PM CONSOLE: [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
5:09:16 PM CONSOLE: [LaunchWrapper]: Loading tweak class name org.spongepowered.asm.launch.MixinTweaker
5:09:16 PM CONSOLE: [mixin]: SpongePowered MIXIN Subsystem Version=0.5.13 Source=file:/home/infinitybackup/Minecraft/mods/spongeforge-1.10.2-2092-5.0.0-BETA-1786.jar Env=SERVER
5:09:16 PM CONSOLE: [mixin]: Compatibility level set to JAVA_8
5:09:16 PM CONSOLE: [mixin]: Adding new token provider org.spongepowered.mod.SpongeCoremod$TokenProvider to MixinEnvironment[DEFAULT]
5:09:16 PM CONSOLE: [mixin]: Adding new token provider org.spongepowered.mod.SpongeCoremod$TokenProvider to MixinEnvironment[PREINIT]
5:09:16 PM CONSOLE: [mixin]: Adding new token provider org.spongepowered.mod.SpongeCoremod$TokenProvider to MixinEnvironment[INIT]
5:09:16 PM CONSOLE: [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
5:09:16 PM CONSOLE: [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
5:09:16 PM CONSOLE: [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
5:09:16 PM CONSOLE: [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
5:09:16 PM CONSOLE: [mixin]: Instancing error handler class org.spongepowered.mod.mixin.handler.MixinErrorHandler
5:09:16 PM CONSOLE: [Sponge]: /***********************************************************************************************************************************************************************/
5:09:16 PM CONSOLE: [Sponge]: /
/
5:09:16 PM CONSOLE: [Sponge]: /
Oh dear. Sponge could not apply one or more patches. A required class was loaded prematurely! /
5:09:16 PM CONSOLE: [Sponge]: /
/
5:09:16 PM CONSOLE: [Sponge]: /
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/
5:09:16 PM CONSOLE: [Sponge]: /
/
5:09:16 PM CONSOLE: [Sponge]: /
An essential class was loaded before Sponge could patch it, this usually means /
5:09:16 PM CONSOLE: [Sponge]: /
that another coremod has caused the class to load prematurely. /
5:09:16 PM CONSOLE: [Sponge]: /
/
5:09:16 PM CONSOLE: [Sponge]: /
Class Name : net.minecraftforge.fml.common.ModMetadata /
5:09:16 PM CONSOLE: [Sponge]: /
/
5:09:16 PM CONSOLE: [Sponge]: /
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/
5:09:16 PM CONSOLE: [Sponge]: /
/
5:09:16 PM CONSOLE: [Sponge]: /
Loaded forge classes: /
5:09:16 PM CONSOLE: [Sponge]: /
*/

Update FoamFix, this issue was recently fixed

i got it to work. Apparently i had to disabled foamfix. Also the latest version doesn’t seem to work with sponge.

Oh OK, FoamFix hasn’t released a version with the sponge fix yet. The next release of FoamFix should work however.