Jump to content
Changes to the Jaspersoft community edition download ×

Saving java file Compiling problem

Recommended Posts

By: Dariusz Filipski - darekf

Saving java file Compiling problem

2003-12-12 11:41



During XML compilation under tomcat web application we've got such exception:

dori.jasper.engine.JRException: Error saving expressions class file : /chroot/tomcat/KontrolaCL.java


Is it nessesery that jasper writes files during compilation? How to set directory where this files shoud be placed?


Best regads

Darek Filipski





By: Teodor Danciu - teodord

RE: Saving java file Compiling problem

2003-12-12 12:09




You can set the "jasper.reports.compile.temp" system

property as explained here:




But if you are in Web environment, then it would be

better to use a report compiler that does not create

files on-the-fly, such as the JRBshCompiler.

This compiler class can be used directly to transform

a JasperDEsign object into a JasperReport object

or you can set the "jasper.reports.compiler.class"

and continue to use the JasperCompileManager.


I hope this helps.







By: Dariusz Filipski - darekf

RE: Saving java file Compiling problem

2003-12-16 03:32



It works great.

Thank you for your help!

Best regards

Darek Filipski

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...