Jump to content
JasperReports Library 7.0 is now available ×

Error loading object - Subreports with Tomcat


2005 IR Help

Recommended Posts

By: Allister Miller - theallister

Error loading object - Subreports with Tomcat

2004-02-23 07:56

Hi

 

When I attempt to use a subreport within Tomcat, using the subreport name eg "test.jasper" I get

 

Error loading object from URL : jar:file:C:/Tomcat4/common/lib/subreport.jar!/test.jasper

 

The error message includes the location of the jar that contains my subreport jasper file suggesting that the file has been located

 

I get a similar message when I use a disk path or a URL to indicate the subreport file.

 

I have had no problems referencing fonts and graphics within jars

 

The subreport functions correctly when run by iReports with the subreport in a jar in the common/lib directory.

 

I have checked that the subreport name is not duplicated anywhere else within the Tomcat classpath.

 

Any advice would be appreciated!

 

Allister

 

 

 

 

By: Allister Miller - theallister

Solution found...

2004-02-24 06:18

I have just noticed that my copy of iReport was using jasperreports-0.5.0.jar and Tomcat was using jasperreports-0.5.1.jar

 

Problem solved

 

: o )

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