Java – how to clear errors in eclipse?

When using ADT for solar eclipse, I will encounter errors even if the problematic code is deleted In fact, even if I delete the entire contents of the file, they will remain. According to this screenshot:

The error is a syntax error on token '}', delete this token

It can be said that there is no such mark

Obviously, this is a mistake, but what should I do? My code will not be compiled

Solution

Most of the answers given are not helpful or are not questions (although... The cleaning work in Ran's comments is effective) The simplest fix is Ctrl 1, followed by clear all lint markers

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>