java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error with WorldGuard in 2.2.5
    via GitHub by Nachodiazv
    ,
  • MyPet Premium 2.2.5 WG error
    via GitHub by andris155
    ,
    • java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getFlagRegistry()Lcom/sk89q/worldguard/protection/flags/registry/FlagRegistry; at de.Keyle.MyPet.util.hooks.WorldGuardHook.<init>(WorldGuardHook.java:54)[?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_101] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[?:1.8.0_101] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[?:1.8.0_101] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)[?:1.8.0_101] at java.lang.Class.newInstance(Class.java:442)[?:1.8.0_101] at de.Keyle.MyPet.api.util.hooks.PluginHookManager.registerHook(PluginHookManager.java:67)[?:?] at de.Keyle.MyPet.MyPetPlugin.registerHooks(MyPetPlugin.java:414)[?:?] at de.Keyle.MyPet.MyPetPlugin.onLoad(MyPetPlugin.java:115)[?:?] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugins(CraftServer.java:296)[spigot.jar:git-Paper-717] at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:205)[spigot.jar:git-Paper-717] at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:573)[spigot.jar:git-Paper-717] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_101]
    No Bugmate found.