I have an error compiling the report in Irepor, the first time I compiled it, however, when I closed Ireports 3.7.3, and opened again I tried to compile the error below:
Compiling to file ... C: \ Users \ Josue \ Desktop \ Report_Ireport \ termoabertura.jasper net.sf.jasperreports.engine.design.JRValidationException: Report design not valid: 1. java.lang.ClassNotFoundException: br.com.tkcsapcd.model.bean.ProjectHome at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign (JRAbstractCompiler.java:258) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport (JRAbstractCompiler.java:140) at net.sf.jasperreports.engine.JasperCompileManager.compileReport (JasperCompileManager.java:215) at net. sf.jasperreports.engine.JasperCompileManager.compileReportToFile (JasperCompileManager.java:131) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run (IReportCompiler.java:514) at org.openide.util.RequestProcessor $ Task.run ( RequestProcessor.java:572) at org.openide.util.RequestProcessor $ Processor.run (RequestProcessor.java:997) Compilation running time: 156
IntheXMLofthereportIconfiguretheattributesthatwillbeloadedbytheclass:
Excerpts:
#<fieldname="termoaberturaprojeto" class="java.lang.String"/>
#<field name="versao" class="java.lang.String"/>
#<field name="autor" class="java.lang.String"/>
#<field name="aprovacao" class="java.lang.String"/>
Excerpts:
Every time, I close the report and open it loads the class:
textFieldExpression class="java.lang.String" > ! [CDATA [$ F {project start] .getCodeProject ()]] >
textFieldExpression >
The right one and do not load the class: textFieldExpression >
textFieldExpression class="java.lang.String" >
Note I added the project JAR! Does anyone know how to solve it? Thanks!