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

Strange Compile Error


2005 IR Help

Recommended Posts

By: sven-loe - sven-loe

Strange Compile Error

2004-04-29 01:22

Hello,

 

I have build a Report with iReport an tried to compile it. I am posting the error here because it looks like a problem of the jasperreports compiler. If nessecary I can provide the .xml file. I have tried to compile with my own programm and I got the same error. I hope somebody has an idea because the report is urgent.

 

C:eclipseworkspaceReportGeneratorclassic.java:71: ';' expected

private JRFillVariable variable_Kontrakt-Id_COUNT = null;

^

1 error

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)

at dori.jasper.engine.JasperCompileManager.compileReport(JasperCompileManager.java:148)

at reports.ReportGenerator.generateReport(ReportGenerator.java:122)

at reports.ReportGenerator.main(ReportGenerator.java:85)

 

 

 

 

By: Tobias Gaekle - ike987

RE: Strange Compile Error

2004-04-29 01:47

as the ^ points out, you can't use a '-' in a variable name because it's an operator. try naming it Kontrakt_Id for example.

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