Community
Participate
Working Groups
When a JSP attribute is defined with a generic type, the '<' and '>' characters inside the type declaration leads to a wrong interpretation by Eclipse. Example : <%@ attribute name="name" required="false" type="java.util.Map<java.lang.String, java.lang.String>" %> Eclipse errors : Multiple annotations found at this line: - Undefined attribute name (java.lang.String). - Unknown tag (java.lang.String). - Invalid location of text (,) in tag (<java.lang.String>). - Start tag (<jsp:directive.attribute>) not closed properly, expected '>'. - Invalid location of text (") in tag (<jsp:directive.attribute>).