Philipp Sander
Philipp Sander

Reputation: 10249

How can I ignore a specific JSP validation error message in eclipse?

I want to ignore a specific error message for all my files but I want that other error messages for these files are not affected!

my error message looks like this:

Can not find the tag library descriptor for "/WEB-INF/da_taglib.tld"

and appears on this line in my JSP-files:

<%@ taglib uri="/WEB-INF/da_taglib.tld" prefix="da" %>`

I searched in the preferences, but only found the option for disabling all error messages for certain files. (Window-> Preferences -> General -> Validation)

It would also be fine if i could disable the error group (Can not find the tag library descriptor for *)

Background: this error message appears because of a war-overlay. when i deploy it it works fine, but eclipse is not seeing the file, that's why the error appears.

Upvotes: 0

Views: 11052

Answers (1)

artbristol
artbristol

Reputation: 32427

for projects:

(right click) Properties -> Validation -> JSP Syntax -> Directives -> Unresolvable URI or tagdir

for workspace:

Window -> Preferences -> Web -> JSP Files -> Validation -> Directives -> Unresolvable URI or tagdir

Upvotes: 3

Related Questions