title: Report design not valid. Field not found Jasper Reports
body: <p>Im trying to create a basic jasper report with <code>JRBeanCollectionDataSource</code>. In there im having a list of objects inside the javabean. </p>
  
  <pre><code>public class Course {
  
      private int id;
      private List&lt;Student&gt; students;
  }
  </code></pre>
  
  <p>Student object looks like</p>
  
  <pre><code>public class Student {
  
      private String name;
      private int id;
  }
  </code></pre>
  
  <p>I want to print student information inside my report. This is how my jrxml looks like</p>
  
  <pre><code> &lt;subDataset name="dataset1" uuid="09015d96-ad5a-4fed-aa9e-19d25e02e205"&gt;
   &lt;field name="students" class="java.util.List"&gt;
    &lt;fieldDescription&gt;&lt;![CDATA[students]]&gt;&lt;/fieldDescription&gt;
   &lt;/field&gt;
  &lt;/subDataset&gt;
  
  &lt;field name="id" class="java.lang.Integer"/&gt;
  &lt;field name="students" class="java.util.List"/&gt;
  &lt;field name="name" class="java.lang.String"/&gt;
  
  &lt;componentElement&gt;
                  &lt;reportElement x="200" y="0" width="400" height="20"/&gt;
                  &lt;jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"&gt;
                      &lt;datasetRun subDataset="dataset1"&gt;
                          &lt;dataSourceExpression&gt;&lt;![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{students})]]&gt;&lt;/dataSourceExpression&gt;
                      &lt;/datasetRun&gt;
                      &lt;jr:listContents height="20" width="400"&gt;
                          &lt;textField&gt;
                              &lt;reportElement x="0" y="0" width="100" height="20"/&gt;
                              &lt;box leftPadding="10"&gt;
                                  &lt;topPen lineWidth="1.0"/&gt;
                                  &lt;leftPen lineWidth="1.0"/&gt;
                                  &lt;bottomPen lineWidth="1.0"/&gt;
                                  &lt;rightPen lineWidth="1.0"/&gt;
                              &lt;/box&gt;
                              &lt;textElement/&gt;
                              &lt;textFieldExpression&gt;&lt;![CDATA[$F{name}]]&gt;&lt;/textFieldExpression&gt;
                          &lt;/textField&gt;
  
                      &lt;/jr:listContents&gt;
                  &lt;/jr:list&gt;
              &lt;/componentElement&gt;
  </code></pre>
  
  <p>But when i run this im getting </p>
  
  <pre><code>net.sf.jasperreports.engine.design.JRValidationException: Report design not valid : 
       1. Field not found : name
  Report design not valid : 
       1. Field not found : name
  </code></pre>
  
  <p>Im a beginner to jasper reports can anyone please tell me what am i doing wrong here. Thanks </p>