salishs Posted December 10, 2009 Share Posted December 10, 2009 Hi all, i had downloaded ireport 3.7 from http://sourceforge.net/projects/ireport/files/iReport/iReport-3.7.0/iReport-3.7.0-windows-installer.exe/download created a jasper and yun on the irepot it works fine and gives the out put . When i call the jasper from my java code the exception raised Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/groovy/control/CompilationFailedException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at net.sf.jasperreports.engine.JasperCompileManager.getCompiler(JasperCompileManager.java:476) at net.sf.jasperreports.engine.JasperCompileManager.loadEvaluator(JasperCompileManager.java:242) at net.sf.jasperreports.engine.fill.JRFillDataset.createCalculator(JRFillDataset.java:411) at net.sf.jasperreports.engine.fill.JRBaseFiller.(JRBaseFiller.java:405) at net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:77) at net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:59) at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:57) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:234) at com.salish.CheckReport.(CheckReport.java:43) at com.salish.CheckReport.main(CheckReport.java:65) my java code jrxml is also attaching in irpeort 3.6. and 3.7 also detail1 is there while in 3.0.0 only detail if the same done with 3.0.0 NO PROBLEM why?????????? Please help me 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