用kryonet时kryo报buffer underflow错误

原因是客户端和服务器端的kryo必须register同样的class类,某一端多register一个class类导致的

原文地址:https://www.cnblogs.com/studynote/p/5546188.html