I also need the same solution as you do can u share it with me. I just cant getFields from my datasource. below is my code. after that I got this error:Error retrieving field value from bean : name Code://How I declare my class like thisclass Person implements Serializable{private String name;public Person(String str){this.name=str;}public String getname(){return this.name;}public String setname(String str){this.name= str;}}try {Person Person = new Person("Tom");List<Person> persons = new ArrayList<Person>();persons.add(Person);JRBeanCollectionDataSource​ conn = new JRBeanCollectionDataSource​(persons);JasperPrint print;print = JasperFillManager.fillRepo​rt(jr, new HashMap(), conn);}Catch(Exception ex){System.out.println(ex.getMessage());}