Eclipse Validation Problem
Posted: Tue Nov 28, 2006 3:04 pm
Hi all,
I had a problem in eclipse. I clicked the validate menu item. My XML validated as expected, but my JSP and HTML code didn't. Now, as this is legacy code I don't care that there are errors in it. I'm gradually replacing it. But there was no way to remove or 'unvalidate' the jsp and html files.
So I eventually found out that you can delete the .markers file, see http://www.myeclipseide.com/PNphpBB2+fi ... -3298.html, and all the error markers (red crosses) have gone!
Then, set your validation options in the preferences to not validate whatever is causing you problems, in my case jsps and html.
Just thought I'd let you know as it really annoyed me for a couple of days but there's no where else that tells you how to get rid of the problem.
Paul.
I had a problem in eclipse. I clicked the validate menu item. My XML validated as expected, but my JSP and HTML code didn't. Now, as this is legacy code I don't care that there are errors in it. I'm gradually replacing it. But there was no way to remove or 'unvalidate' the jsp and html files.
So I eventually found out that you can delete the .markers file, see http://www.myeclipseide.com/PNphpBB2+fi ... -3298.html, and all the error markers (red crosses) have gone!
Then, set your validation options in the preferences to not validate whatever is causing you problems, in my case jsps and html.
Just thought I'd let you know as it really annoyed me for a couple of days but there's no where else that tells you how to get rid of the problem.
Paul.