日期:2014-05-20  浏览次数:20639 次

这是虾米错误,有没有碰到过的?
这是定义一个类的时候出现的
Multiple markers at this line
- No enclosing instance of type ChatServer is accessible. Must qualify the allocation with an enclosing instance of type ChatServer (e.g. x.new A() where x is an 
instance of ChatServer).
- The value of the local variable client is not used



------解决方案--------------------
1、要显示指出内部类对象关联的enclosing instance
2、client变量没有用到