java.lang.NoSuchMethodError: org.spongepowered.api.GameRegistry.register(Ljava/lang/Class;Lorg/spongepowered/api/CatalogType;)Lorg/spongepowered/api/CatalogType;

GitHub | linyuzhe210 | 4 months ago
  1. 0

    my sponge server just cant use this plugin and make issue :(

    GitHub | 4 months ago | linyuzhe210
    java.lang.NoSuchMethodError: org.spongepowered.api.GameRegistry.register(Ljava/lang/Class;Lorg/spongepowered/api/CatalogType;)Lorg/spongepowered/api/CatalogType;
  2. 0

    Server crash at launch not sure what the issue is but here's my log!

    GitHub | 2 months ago | epicminerbackup
    net.minecraftforge.fml.common.LoaderException: java.lang.NoSuchMethodError: org.spongepowered.api.data.key.KeyFactory.makeSingleKey(Ljava/lang/Class;Ljava/lang/Class;Lorg/spongepowered/api/data/DataQuery;)Lorg/spongepowered/api/data/key/Key;
  3. 0

    Crashes under Spongeforge 1.10.2-2106-6.0.0-BETA-1840

    GitHub | 1 month ago | wiesshund
    net.minecraftforge.fml.common.LoaderException: java.lang.NoSuchMethodError: org.spongepowered.api.data.key.KeyFactory.makeSingleKey(Ljava/lang/Class;Ljava/lang/Class;Lorg/spongepowered/api/data/DataQuery;)Lorg/spongepowered/api/data/key/Key;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Could not pass CommandEvent.

    GitHub | 2 years ago | nikosgram13
    java.lang.NoSuchMethodError: org.spongepowered.api.Game.getServer()Lorg/spongepowered/api/Server;
  6. 0

    Could not pass CommandEvent.

    GitHub | 2 years ago | nikosgram13
    java.lang.NoSuchMethodError: org.spongepowered.api.Game.getServer()Lorg/spongepowered/api/Server;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.spongepowered.api.GameRegistry.register(Ljava/lang/Class;Lorg/spongepowered/api/CatalogType;)Lorg/spongepowered/api/CatalogType;

      at com.plotsquared.sponge.SpongeMain.onServerAboutToStart()
    2. com.plotsquared.sponge
      SpongeMain.onServerAboutToStart
      1. com.plotsquared.sponge.SpongeMain.onServerAboutToStart(SpongeMain.java:139)[SpongeMain.class:?]
      1 frame
    3. org.spongepowered.common
      RegisteredListener.handle
      1. org.spongepowered.common.event.listener.GameAboutToStartServerEventListener_SpongeMain_onServerAboutToStart47.handle(Unknown Source)[?:?]
      2. org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)[RegisteredListener.class:1.8.9-1890-4.2.0-BETA-1620]
      2 frames
    4. org.spongepowered.mod
      SpongeMod.onStateEvent
      1. org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:201)[SpongeModEventManager.class:1.8.9-1890-4.2.0-BETA-1620]
      2. org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:242)[SpongeModEventManager.class:1.8.9-1890-4.2.0-BETA-1620]
      3. org.spongepowered.mod.SpongeMod.onStateEvent(SpongeMod.java:185)[SpongeMod.class:1.8.9-1890-4.2.0-BETA-1620]
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_101]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_101]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_101]
      4. java.lang.reflect.Method.invoke(Unknown Source)[?:1.8.0_101]
      4 frames
    6. Guava
      EventBus.post
      1. com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)[minecraft_server.1.8.9.jar:?]
      2. com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)[minecraft_server.1.8.9.jar:?]
      3. com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)[minecraft_server.1.8.9.jar:?]
      4. com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)[minecraft_server.1.8.9.jar:?]
      5. com.google.common.eventbus.EventBus.post(EventBus.java:275)[minecraft_server.1.8.9.jar:?]
      5 frames
    7. MC Forge
      LoadController.propogateStateMessage
      1. net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)[LoadController.class:?]
      2. net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)[LoadController.class:?]
      2 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_101]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_101]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_101]
      4. java.lang.reflect.Method.invoke(Unknown Source)[?:1.8.0_101]
      4 frames
    9. Guava
      EventBus.post
      1. com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)[minecraft_server.1.8.9.jar:?]
      2. com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)[minecraft_server.1.8.9.jar:?]
      3. com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)[minecraft_server.1.8.9.jar:?]
      4. com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)[minecraft_server.1.8.9.jar:?]
      5. com.google.common.eventbus.EventBus.post(EventBus.java:275)[minecraft_server.1.8.9.jar:?]
      5 frames
    10. MC Forge
      FMLCommonHandler.handleServerAboutToStart
      1. net.minecraftforge.fml.common.LoadController.redirect$onPost$0(LoadController.java:53)[LoadController.class:?]
      2. net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)[LoadController.class:?]
      3. net.minecraftforge.fml.common.Loader.serverAboutToStart(Loader.java:857)[Loader.class:?]
      4. net.minecraftforge.fml.common.FMLCommonHandler.handleServerAboutToStart(FMLCommonHandler.java:279)[FMLCommonHandler.class:?]
      4 frames
    11. MC Server
      MinecraftServer.run
      1. net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:252)[ko.class:?]
      2. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441)[MinecraftServer.class:?]
      2 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame