when i use the jasperreports 4.0.2, all work fine, but when i change to 6.6.0 don't work

JRXmlDataSource xmlDataSource = xmlDataSource = new JRXmlDataSource(new File(arq_xml), "/NFe/infNFe/det"); JasperPrint jp = JasperFillManager.fillReport(file, parameterMap, xmlDataSource); JasperViewer.viewReport(jp, false); i make a report in jasper report 6.6.0 but, not work with code above
jdanielobj's picture
Joined: Nov 24 2018 - 4:50am
Last seen: 11 months 1 week ago

1 Answer:


Look at the error message to resolve the problem.

JasperReports specification has changed between major versions and it may be with the jrxml file.

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 8 months ago