I am working in java swing application with Jasper report in eclipse. I installed jasper plug in in eclipse and did import jasper viewer (JasViewer_V1_10
) libraries/jar files in project.
Now, I am having an exception at JasperCompileManager.compileReport(jDesign)
, which I don't understand what is wrong with the jar's file.
net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 435; cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.
I don't know what is wrong with this below code: -
JasperDesign jDesign = JRXmlLoader.load(new File("").getAbsolutePath()+ "/src/reports/Blank_A4.jrxml");
JasperReport jReprt = JasperCompileManager.compileReport(jDesign);
TIA