Jump to content

Nesting subreports


ktrinad

Recommended Posts

By: MagicRichie - magicrichie

Nesting subreports

2006-06-26 23:13

Hai

 

I am using JasperServer 0.92 and I am trying to use nested subreports, i.e. the report calls a subreport who in turn calls a subreport etc.

 

This is working fine in iReport however when I try to run it from the JasperServer I get an error stating :

.... Errors were encountered when compiling report expressions class file: 1. Only a type can be imported. it.businesslogic.ireport.IReportScriptlet resolves to a package import it.businesslogic.ireport.IReportScriptlet; <---------------------------------------> 1 errors

 

Is there a restriction on the level of subreport nesting within JasperServer ??

 

Sincerely

Richard

 

 

By: Giulio Toffoli - gt78

RE: Nesting subreports

2006-06-27 02:26

Do you use scriptlet for your report?

 

Solutions:

 

1. If you do not use scriptlets, simply go to edit-> Report import directives and remove the import of it.businesslogic.ireport.IReportScriptlet;

 

 

2. If you use scriptlet, add iReport.jar as resource for the report unit, or add iReport.jar to the server classpath.

 

Giulio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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