1.8.8 Citizens Problem

Discussion in 'Spigot Plugin Development' started by MOMOVI_, Feb 17, 2020.

  1. java.lang.NoClassDefFoundError: net/minecraft/server/v1_8_R1/Packet
    [06:56:37 WARN]: at net.citizensnpcs.npc.CitizensNPCRegistry.getByType(CitizensNPCRegistry.java:92)
    [06:56:37 WARN]: at net.citizensnpcs.npc.CitizensNPCRegistry.createNPC(CitizensNPCRegistry.java:47)
    [06:56:37 WARN]: at net.citizensnpcs.npc.CitizensNPCRegistry.createNPC(CitizensNPCRegistry.java:40)
    [06:56:37 WARN]: at net.citizensnpcs.commands.NPCCommands.create(NPCCommands.java:320)
    [06:56:37 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [06:56:37 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [06:56:37 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [06:56:37 WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
    [06:56:37 WARN]: at net.citizensnpcs.api.command.CommandManager.executeMethod(CommandManager.java:154)
    [06:56:37 WARN]: at net.citizensnpcs.api.command.CommandManager.execute(CommandManager.java:90)
    [06:56:37 WARN]: at net.citizensnpcs.api.command.CommandManager.executeSafe(CommandManager.java:178)
    [06:56:37 WARN]: at net.citizensnpcs.Citizens.onCommand(Citizens.java:236)
    [06:56:37 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
    [06:56:37 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146)
    [06:56:37 WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:623)
    [06:56:37 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1213)
    [06:56:37 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1028)
    [06:56:37 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
    [06:56:37 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
    [06:56:37 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
    [06:56:37 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [06:56:37 WARN]: at java.util.concurrent.FutureTask.run(Unknown Source)
    [06:56:37 WARN]: at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
    [06:56:37 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:777)
    [06:56:37 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378)
    [06:56:37 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:716)
    [06:56:37 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:620)
    [06:56:37 WARN]: at java.lang.Thread.run(Unknown Source)
    [06:56:37 WARN]: Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_8_R1.Packet
    [06:56:37 WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:92)
    [06:56:37 WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87)
    [06:56:37 WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
    [06:56:37 WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
    [06:56:37 WARN]: ... 28 more
     
  2. Seems like you are using the wrong version of Citizens.
    Anyway wrong forum section.