-7
[SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.ContainerEnchantTable.doEnchantment(Lnet/minecraft/server/EntityHuman;Ljava/util/List;IZ)Z
2012-04-09 13:34:42 [SEVERE]    at net.minecraft.server.mod_MultiplayerSupport.doEnchant(mod_MultiplayerSupport.java:80)
2012-04-09 13:34:42 [SEVERE]    at net.minecraft.server.mod_MultiplayerSupport.handlePacket(mod_MultiplayerSupport.java:51)
2012-04-09 13:34:42 [SEVERE]    at net.minecraft.server.ModLoaderMp.handleAllPackets(ModLoaderMp.java:110)
2012-04-09 13:34:42 [SEVERE]    at net.minecraft.server.Packet230ModLoader.handle(Packet230ModLoader.java:158)
2012-04-09 13:34:42 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)
2012-04-09 13:34:42 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:118)
2012-04-09 13:34:42 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
2012-04-09 13:34:42 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:557)
2012-04-09 13:34:42 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:455)
2012-04-09 13:34:42 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
2012-04-09 13:34:42 [SEVERE] Unexpected exception
java.lang.NoSuchMethodError: net.minecraft.server.ContainerEnchantTable.doEnchantment(Lnet/minecraft/server/EntityHuman;Ljava/util/List;IZ)Z
    at net.minecraft.server.mod_MultiplayerSupport.doEnchant(mod_MultiplayerSupport.java:80)
    at net.minecraft.server.mod_MultiplayerSupport.handlePacket(mod_MultiplayerSupport.java:51)
    at net.minecraft.server.ModLoaderMp.handleAllPackets(ModLoaderMp.java:110)
    at net.minecraft.server.Packet230ModLoader.handle(Packet230ModLoader.java:158)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:118)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:557)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:455)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
4

1 回答 1

2

“没有这样的方法”向我暗示包含该类的 JAR 已过时。代码中的某些对象正在调用具有与 JAR 中不同的签名的方法。找到该类所在的 JAR 并在 Google 上进行更新。

于 2012-04-09T11:55:04.907 回答