2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Patrick Doran - pattyd19 Error when compiling report in servlet 2003-08-01 10:45 I have code that works fine for the command line, however when I run it in OC4J (Oracle app server) I get the following error message at this line in my code: JasperReport jr = JasperCompileManager.compileReport(bis); 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.compileReport(JasperCompileManager.java:196) and the following is sent to the system log: 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; Any help would be greatly appreciated..... ^ By: Gareth - calefact RE: Error when compiling report in servlet 2003-08-08 12:47 which versions of OC4J and jasper are you using? and could you show us the code up until you call compileReport()? I'm also generating reports via a servlet in OC4J, and havent experienced this problem. 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