I have a emilio_report.jrxml file which contains this name attribute <jasperReport name="report_rejected_sv">
I re-compiled a report and when I use it I get the following exception:
Caused by: java.lang.NoClassDefFoundError: report_rejected_sv_d7395256a6a600c1f3df4fd11189096bf3aac209870f66a7cb61ffb8bd41b402 (wrong name: report_rejected_sv)
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
at java.lang.ClassLoader.defineClass(ClassLoader.java:1022) ~[?:?]
at net.sf.jasperreports.engine.util.JRClassLoader.loadClass(JRClassLoader.java:341) ~[jasperreports-6.20.5.jar:6.20.5-3efcf2e67f959db3888d79f73dde2dbd7acb4f8e]
I also found out that my project reuses that name attribute <jasperReport name=" report_rejected_sv"> in several different .jrxml reports.
How can I re-compile the report and avoid this exception?
Is there a way to know which version has it been used to compile/generate a .jasper binary file?
I mean, if you only have the .jrxml and the .jasper files and no other information. Is it possible to recognize their version?