For example, I show a very simple Spring form:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %> <%@ page session="false" %> <form:form id="form" method="post" modelAttribute="formBean" cssClass="cleanform"> <fieldset> <legend>Personal Info</legend> <form:label path="name"> Name <form:errors path="name" cssClass="error" /> </form:label> </fieldset> </form:form>
However, I get 2 Eclipse warnings:
"The list is a raw type. References to the general type. The list must be parameterized."
They are for the line:
Name <form:errors path="name" cssClass="error" />
Is there a way to get rid of these warnings?
source share