ktrinad Posted August 31, 2006 Share Posted August 31, 2006 By: Flavio Giovanni - fgiovanni wrong version 48.0, should be 47.0 2003-10-16 07:01 Hello people. When i compile my report, the iReport return a error: C:Documents and SettingsFlavioDesktopmySQLmysql-connector-java-3.1.0-alphaUntitled_report_1.java:24: cannot access java.lang.Object bad class file: C:Arquivos de programasJavaj2re1.4.0librt.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_REPORT_CONNECTION = 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.JRCompiler.compileReport(JRCompiler.java:148) at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:135) at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:123) at IReportCompiler.main(IReportCompiler.java:119) Abnormal termination! How to adjust this problem? Thanks - Flᶩo By: Giulio Toffoli - gt78 RE: wrong version 48.0, should be 47.0 2003-10-17 01:48 Stai compilando usando la versione 0.4.8 di jasperreports e nel tuo ambiente di produzione hai la varione 0.4.7 della stessa libreria. Devono essere uguali! Giulio By: Flavio Giovanni - fgiovanni RE: wrong version 48.0, should be 47.0 2003-10-17 11:23 Sorry, but i don't no what i need change... What do i need change in my project? Thanks - Flᶩo By: Giulio Toffoli - gt78 RE: wrong version 48.0, should be 47.0 2003-10-21 04:16 You must be sure that jasperreports.jar used by ireport is the same used by your application. 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