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:
new JRBeanCollectionDataSource($F{actions})
which is found on many docs.
When I compile I get:
JRBeanCollectionDataSource cannot be resolved to a type
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.
What could be the reason?
actions
)? What happened if you are compiling reports (master and subreport) with help of iReport? – Alex K