lesharb Posted October 3, 2020 Share Posted October 3, 2020 HelloI have simple sturucture of jsonpublic class Document { private String id; private String name; private List<Info> info;}public class Info { private LocalDate date; private String desc;}[/code] I create a MainTemplate and pass the JRBeanCollectionDataSource (List <Document>) thereIn MainTemplate I created a SubReport and print simple fields (id and name)How do I print List <Info> in SubReport? Now I have such errorsnet.sf.jasperreports.engine.JRException: Error retrieving field value from bean: dateUnknown property 'date' on class 'class java.util.ArrayList' Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now