Jump to content
JasperReports Library 7.0 is now available ×

Error while compiling XML file


Recommended Posts

By: Prabu Muthu - mp_prabu

Error while compiling XML file

2003-05-14 03:01

I`ve added two new fields to the existing XML file and tried to compile the XML file. The following error is thrown.

 

compile:

dori.jasper.engine.JRException: Report design not valid :

1. Field not found : Name

2. Field not found : Anrede

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

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

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:107)

at DataSourceApp.main(DataSourceApp.java:136)

Java Result: 1

 

 

 

 

 

By: Gregory A. Swarthout - gswarthout

RE: Error while compiling XML file

2003-05-14 09:11

You've referenced field that you haven't declared with the following Syntax:

 

<field name="Name" class="java.lang.String"/>

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