you can also use @suppresswarnings annotations to be more selective about which warnings you want to suppress.


go to windows-show view-other-problem.

now open the problems tab which is in the lower screen, in this tab you can see all errors and warnings your project had.

if the problem in the build path, open the build path and remove the jres which have warning or error and delete them, then import them one more time by import external jres.

remember that before you run the project to make a clean from project tab.

or you can from the problems tab to right click at the warning and choose quick fix, sometimes this work.

if that not sussced please inform me to found the another solution.


go to window > preferences > validation and disable validation for whatever types of files you want.

edit: hmm. there's also window > appearance > label decorations, but that didn't seem to disable the decorations in the explorer view.


there is nothing available to hide the problem markers in the explorer view (and no, that doesn't cost any performance overhead as markers are persistent and can directly be queried for each resource).

one (bad) workaround would be to use the navigator view instead, but that one really only shows the file and folder structure, so the package layout and similar java specific things are gone then.

also, in a typical eclipse setup, your icons will not only be overlayed by the warnings indicator, but also by scm overlay, project type overlay, disabled optional compiler warnings overlay and a multitude of other overlays. you should get used to this.

Related Query

More Query from same tag