Syntax error on token "}", delete this token eclipse 中代码没有问题,但是报这个错解决方法: eclipse 中代码没有问题,但是报这个错 解决方法: 将报错的‘}’删除后,重新打一个‘}’,然后点击保存,就好了,此方法git不会对比出修改;