java.lang.ClassCastException

org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer

Solutions on the web19030

  • via GitHub by celinor1982
    , 9 months ago
    org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer
  • via GitHub by celinor1982
    , 4 months ago
    org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer
  • via GitHub by celinor1982
    , 9 months ago
    org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer
  • Stack trace

    • java.lang.ClassCastException: org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer at org.spongepowered.mod.guice.SpongeGuiceModule.configure(SpongeGuiceModule.java:68) at com.google.inject.AbstractModule.configure(AbstractModule.java:62) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) at com.google.inject.spi.Elements.getElements(Elements.java:110) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104) at com.google.inject.Guice.createInjector(Guice.java:96) at com.google.inject.Guice.createInjector(Guice.java:73) at com.google.inject.Guice.createInjector(Guice.java:62) at org.spongepowered.mod.SpongeMod.<init>(SpongeMod.java:124) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:339) at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:488) at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:112) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441) at java.lang.Thread.run(Thread.java:745)[12:27:20]

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.