Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by celinor1982
, 1 year ago
org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer
via GitHub by celinor1982
, 1 year ago
org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer
via GitHub by celinor1982
, 1 year ago
org.spongepowered.mod.SpongeMod cannot be cast to org.spongepowered.api.plugin.PluginContainer
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.(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)