java.lang.ClassCastException: org.spongepowered.common.plugin.SpongeApiContainer cannot be cast to org.spongepowered.api.plugin.PluginContainer

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 Minecrell
, 1 year ago
org.spongepowered.common.plugin.SpongeApiContainer cannot be cast to org.spongepowered.api.plugin.PluginContainer
via GitHub by michaelKurowski
, 4 months ago
org.spongepowered.common.plugin.SpongeApiContainer cannot be cast to org.sponge powered.api.plugin.PluginContainer
java.lang.ClassCastException: org.spongepowered.common.plugin.SpongeApiContainer cannot be cast to org.spongepowered.api.plugin.PluginContainer
at org.spongepowered.server.launch.plugin.PluginCandidate.collectDependencies(PluginCandidate.java:164)
at org.spongepowered.server.plugin.VanillaPluginManager.checkRequirements(VanillaPluginManager.java:80)
at org.spongepowered.server.plugin.VanillaPluginManager.loadPlugins(VanillaPluginManager.java:69)
at org.spongepowered.server.SpongeVanilla.preInitialize(SpongeVanilla.java:171)
at net.minecraft.server.dedicated.DedicatedServer.handler$onServerLoad$0(SourceFile:61)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(SourceFile:112)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.