Jump to content
JasperReports Library 7.0 is now available ×

Problem compiling report


2005 IR Help

Recommended Posts

By: C. Richard Jamieson - rykk

Problem compiling report

2005-05-10 14:45

I cannot determine what is causing the problem I am having.

I am running iReports-0.2.1 on a windows 2000 system and everything operates as expected.

I have installed iReports-0.2.1 on a windows XP professional system.

iReports starts up fine, seems to load an existing xml report fine.

Note the xml report file compiles fine and works on the windows 2000 system.

But when I try a compile on the XP professional system, I get the following errors:

I know I am running an older version of iReports - but it is working fine in the java system

I distribute with webstart. I would not like to risk breaking the application.

 

****************************

Compiling to file... C:cawimpassportvreportsvaremployees.jasper -> C:iReport-0.2.1employeeselection.java

Errors compiling C:cawimpassportvreportsvaremployees.jasper!

dori.jasper.engine.JRException:?Errors?were?encountered?when?compiling?report?expressions?class?file:

C:iReport-0.2.1employeeselection.java:17:?employeeselection?should?be?declared?abstract;?it?does?not?define?customizedInit(java.util.Map,java.util.Map,java.util.Map)?in?dori.jasper.engine.fill.JRCalculator

public?class?employeeselection?extends?JRCalculator

???????^

C:iReport-0.2.1employeeselection.java:70:?cannot?resolve?symbol

symbol :?constructor?JRCalculator?(java.util.Map,java.util.Map,java.util.Map,dori.jasper.engine.fill.JRFillVariable[],dori.jasper.engine.fill.JRFillGroup[])

location:?class?dori.jasper.engine.fill.JRCalculator

???super(pm,?fm,?vm,?v,?g);

???^

2?errors

????at?dori.jasper.engine.design.JRCompiler.compileReport(JRCompiler.java:148)

????at?dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:135)

????at?dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:123)

????at?it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:139)

????at?java.lang.Thread.run(Unknown?Source)

Compilation running time : 1187

***************

 

Any suggestions to resolve the problem would be accepted with thanks.

 

rykk

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