title: Eclipse Warning “List is a raw type” in a Spring jsp form
body: <p>For example I am showing a very simple Spring form:</p>
  
  <pre><code>&lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %&gt;
  &lt;%@ taglib uri="http://www.springframework.org/tags" prefix="s" %&gt;
  &lt;%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %&gt;
  &lt;%@ page session="false" %&gt;
  &lt;form:form id="form" method="post" modelAttribute="formBean" cssClass="cleanform"&gt;
  &lt;fieldset&gt;
      &lt;legend&gt;Personal Info&lt;/legend&gt;
      &lt;form:label path="name"&gt;
                  Name &lt;form:errors path="name" cssClass="error" /&gt;
      &lt;/form:label&gt;
  &lt;/fieldset&gt;
  &lt;/form:form&gt;
  </code></pre>
  
  <p>Still I am getting 2 Eclipse warnings:</p>
  
  <p>"List is a raw type. References to generic type List should be parameterized"</p>
  
  <p>They are  for the line:</p>
  
  <pre><code>Name &lt;form:errors path="name" cssClass="error" /&gt;
  </code></pre>
  
  <p>Is there any way to get rid of these warnings?</p>