Foreign Ireports Key: java.lang.Classnotfoundexception: br.com.tkcsapcd.model.bean.Projectnew

Asked

Viewed 60 times

1

I have an error when compiling the report in Irepor, the first time I compiled it worked, 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 Reportario_ireport termoabertura.Asper net.sf.jasperreports.engine.design.Jrvalidationexception: Report design not Valid : 1.  java.lang.ClassNotFoundException: br.com.tkcsapcd.model.bean.ProjetoInicio     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

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

In the report XML I configure the attributes that will be loaded by the class:

Excerpts:

#<field name="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 the class:

textFieldExpression class="java.lang.String"> ![CDATA[$F{projetoinicio}. getCodigodesign()]]>

textFieldExpression>

The right one is not to load the class: textFieldExpression>

textFieldExpression class="java.lang.String">

Note added the project JAR! Does anyone know how to resolve? Thanks!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.