title: Error MVC org.springframework.validation.BeanPropertyBindingResult: 1 errors with array
body: <p>Hi I try pass an array in a bean from jsp to java.</p>
  
  <pre><code>@ModelAttribute("areasActividadAdminBean")AreasActividadAdminBean areasActividadAdminBean
  
  Agrupacion[] listaAgrupaciones = x;
  
  model.addAttribute("areasActividadAdminBean",areasActividadAdminBean);
  </code></pre>
  
  <p>In JSP i have this:</p>
  
  <pre><code>&lt;form:form commandName="areasActividadAdminBean" .....&gt;
  
  &lt;form:hidden path="listaAgrupaciones"/&gt;
  
  &lt;input type="submit" value="Button"/&gt;
  </code></pre>
  
  <p>But I get this error:</p>
  
  <pre><code>org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors
  Field error in object 'areasActividadAdminBean' on field 'listaAgrupaciones': rejected value 
  </code></pre>