ktrinad Posted August 31, 2006 Share Posted August 31, 2006 By: Andrew Petrusha - andrew_petrusha class file has wrong version 48.0, should be 2003-12-11 09:33 Hi... j2sdk1.4.1 jasperreports0.5.0 iReport 0.2.2 (22 september 2003) if compile new clear report have these error: D:javaToolsReportsiReportdislocationAll.java:24: cannot access java.lang.Object bad class file: C:Program FilesJavaj2re1.4.1lib t.jar(java/lang/Object.class) class file has wrong version 48.0, should be 47.0 Please remove or make sure it appears in the correct subdirectory of the classpath. private JRFillParameter parameter_LogoPath = null; ^ 1 error dori.jasper.engine.JRException: Errors were encountered when compiling report expressions class file: See error messages above. at dori.jasper.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:154) at dori.jasper.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:136) at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:135) at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:123) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:139) at java.lang.Thread.run(Thread.java:536) with jdk1.3.1_03 same error how it can be solved??? By: Andrew Petrusha - andrew_petrusha RE: class file has wrong version 48.0, should be 2003-12-11 09:39 and so.... iReport 0.1.0 (Windows version) successfully compiling these report.....but not generete pdf file? even with correct datasource By: Andrew Petrusha - andrew_petrusha RE: class file has wrong version 48.0, should be 2003-12-12 05:53 and....same error with new blank report :( please I need help.... By: Giulio Toffoli - gt78 RE: class file has wrong version 48.0, should be 2003-12-14 09:00 iReport 0.1.0 is shipper with JasperReports 0.4.7. You are using in your production env ireport 0.4.8. Use everywhere the same jasperreports.jar. (i.e. jasperreports-050.jar, alias version 050). Giulio By: Andrew Petrusha - andrew_petrusha RE: class file has wrong version 48.0, should be 2003-12-15 04:06 ...... JasperReports 0.4.7 and JasperReports 0.4.8 ??? I see only JasperReports 0.4.6 and the next version JasperReports 0.5.0.... and....iReport does not save report query.....after opening I should enter query every time :( By: Giulio Toffoli - gt78 RE: class file has wrong version 48.0, should be 2003-12-15 05:07 Download jasperreports 0.4.8 and use it in all env (if you don't want use jasperreports 0.5.0 and iReport 0.2.2). To save report query press the button "save query to report" in the query dialog. Giulio 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