Fix those pesky eclipse build errors.

Have you had Eclipse keep on showing mysterious build errors on projects (or even on files) that just wont go away no matter how many time you build and refresh the project(s)?
If you have situation like that and are sure that there should not be any errors. Try the following to force-clear the errors:

  • Close the eclipse (this is important since Eclipse will write errors back to marker files on close).
  • Go to the following directory under your eclipse workspace:
    yourpath/.metadata/.plugins/org.eclipse.core.resources/.projects/
  • Open terminal in there and run the following command
    find . -name “.markers” -delete

    You can also delete .markers files manually too.

  • Open eclipse and refresh your projects. The errors should be gone.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>