Jump to content
We've recently updated our Privacy Statement, available here ×

Error when compiling report in servlet


Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...