java.lang.ClassCastException: java.lang.String cannot be cast to common.User解决思路
java.lang.ClassCastException: java.lang.String cannot be cast to common.User解决思路
日期:2014-05-20 浏览次数:20868 次
java.lang.ClassCastException: java.lang.String cannot be cast to common.User java.lang.ClassCastException: java.lang.String cannot be cast to common.User at Server.RequestProcessor.logout(RequestProcessor.java:147) at Server.RequestProcessor.run(RequestProcessor.java:38) at java.lang.Thread.run(Thread.java:662)
其中User是 public class User implements Serializable { private static final long serialVersionUID = -427838794924380991L; private String id; private String password; private String box1; private String grade; private String department; private String ip;