In IDEA 5, I am getting a red inspection error on all JSP files that it "cannot symbol resolve messageKey" for the key attribute of all the JSTL <fmt:message> tags. Figuring the inspection tool is parsing files only in source directories, I set the directory containing the resource bundle properties files as a source directory in an attempt to resolve the issue. No luck.
I tried setting the directory containing our resource bundle properties files as a "Web Resource Directory" in the Project Settings. This did not resolve the issue.
Since all our web pages are internationalize and use the <fmt:message> JSTL tag for most output, the inspection margin on all our JSP files is practically solid red. This is a problem, to say the least.
I have searched IDEA's help, this forum, and JIRA in an attempt to resolve this issue, but have not had any luck. Is this a bug, or do I simply have something misconfigured?
JIRA item IDEADEV-1558 indicates that code completion was added for key attribute of the message tag. This is not working for me either, and since both these issues would depend on IDEA needing to parse the resource bundle, I am assuming, for the moment, this is a configuration issue. But if I cannot resolve this, I will have to assume it is a bug and open up a JIRA report.
If someone can please advice, I would be very appreciative.