gopal1008 Posted April 8, 2015 Posted April 8, 2015 I am trying to pass JRBeanCollectionDataSource as parameter to Jasper from a java application. I am getting below error. Is there a way around this ? JRBeanCollectionDataSource bcDataSource = new JRBeanCollectionDataSource(list);[/code]parameterMap.put("REPORT_DATA_SOURCE", bcDataSource); [/code] report = client.runReport(rDesc, parameterMap);[/code] java.lang.Exception: 1 - java.lang.String incompatible with net.sf.jasperreports.engine.JRDataSourceat com.jaspersoft.ireport.jasperserver.ws.WSClient.runReport(WSClient.java:403)
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