今天写代码突然遇到一个No interface expected here 错误,idea没有编译过去,No interface expected here的意思是这里没有接口。 No interface expected here 解决方法 把extend 修改为 implements