title: Jasper reposts can't compile an expression that contains JRBeanCollectionDataSource, why?
body: <p>I am creating a report that has a subreport with ireport. The data source for both is java beans. The problem is that when I create the data source expression for the subreport, I will use:</p>
  
  <pre><code>new JRBeanCollectionDataSource($F{actions})
  </code></pre>
  
  <p>which is found on many docs. </p>
  
  <p>When I compile I get:</p>
  
  <pre><code>JRBeanCollectionDataSource cannot be resolved to a type
  </code></pre>
  
  <p>I don't get it, it's a JasperReports class... how can it be missing. I even controlled the 
  settings and the Jar with the class is in the classpath.</p>
  
  <p>What could be the reason?</p>