emilio.cuberos Posted January 26 Share Posted January 26 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? Link to comment Share on other sites More sharing options...
Akshay Khedkar Posted January 30 Share Posted January 30 Hello, Can you please provide me the report JRXML and sample data to reproduce this issue at my end: Link to comment Share on other sites More sharing options...
Hardy Posted March 15 Share Posted March 15 Same problem here. Link to comment Share on other sites More sharing options...
lucasdev Posted April 24 Share Posted April 24 me too.. I have reports compiled by Jaspersoft iReport 5.5.1. But now, due to the problem that iReport only works up to Postgres 11, I need to compile them in Jaspersoft Studio 6.21.2. But after compiling them and when trying to print them, this error occurs java.lang.NoClassDefFoundError wrong name Link to comment Share on other sites More sharing options...
shreekrishna.shankhwar Posted April 26 Share Posted April 26 I don't get it i never got this issue at my end , If anyone wants solution on this please send the jrxml. i-report works on almost all the DB. Link to comment Share on other sites More sharing options...
Sad H Posted April 26 Share Posted April 26 This Might help https://community.jaspersoft.com/forums/topic/67916-javalangnoclassdeffounderror-jrxxxxxxxx-_1811b31b27d13da1f8bc9955038dc0646b5de2a76581526d5a0228d015ebfd49-wrong-name-jrxxxxxxxx/ 1 Link to comment Share on other sites More sharing options...
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