问题:The method *** from the type *** is not visible
描述:java中遇到这种错误是因为这个方法是被保护的,导致调用失败。
解决:具体在我这个问题中,因为这个方法是我自己写的,写的时候写的是protected 方法,所以我改成了public,这个时候问题依然存在,点击eclipse窗口的project->clean,选择当前项目,OK,问题解决
问题:The method *** from the type *** is not visible
描述:java中遇到这种错误是因为这个方法是被保护的,导致调用失败。
解决:具体在我这个问题中,因为这个方法是我自己写的,写的时候写的是protected 方法,所以我改成了public,这个时候问题依然存在,点击eclipse窗口的project->clean,选择当前项目,OK,问题解决