Error shown while generating barcode for pdf in jasper report using jaspersoft studio -
i getting error while generating barcode in jrxml file converted jasper file .
i using jaspersoft studio implement barcode.
but while implementing facing below errors.
net.sf.jasperreports.engine.jrexception: errors encountered when compiling
report expressions class file:
com.keepdynamic.barcode.generator.jasperreports.barcoderenderer cannot resolved type value = new com.keepdynamic.barcode.generator.jasperreports.barcoderenderer( com.keepdynamic.barcode.generator.jasperreports.barcodefactory.createlinear( 8,"((net.sf.jasperreports.engine.jrrenderable)field_barcode.getvalue())")); //$jr_expr_id=152$ com.keepdynamic.barcode.generator.jasperreports.barcodefactory cannot resolved type value = new com.keepdynamic.barcode.generator.jasperreports.barcoderenderer( com.keepdynamic.barcode.generator.jasperreports.barcodefactory.createlinear( 8,"((net.sf.jasperreports.engine.jrrenderable)field_barcode.getvalue())")); //$jr_expr_id=152$ com.keepdynamic.barcode.generator.jasperreports.barcoderenderer cannot resolved type value = new com.keepdynamic.barcode.generator.jasperreports.barcoderenderer( com.keepdynamic.barcode.generator.jasperreports.barcodefactory.createlinear( 8,"((net.sf.jasperreports.engine.jrrenderable)field_barcode.getoldvalue())")); //$jr_expr_id=152$ <-------------------------------------------------------------> com.keepdynamic.barcode.generator.jasperreports.barcodefactory cannot resolved type value = new com.keepdynamic.barcode.generator.jasperreports.barcoderenderer( com.keepdynamic.barcode.generator.jasperreports.barcodefactory.createlinear( 8,"((net.sf.jasperreports.engine.jrrenderable)field_barcode.getoldvalue())")); //$jr_expr_id=152$ com.keepdynamic.barcode.generator.jasperreports.barcoderenderer cannot resolved type value = new com.keepdynamic.barcode.generator.jasperreports.barcoderenderer( com.keepdynamic.barcode.generator.jasperreports.barcodefactory.createlinear( 8,"((net.sf.jasperreports.engine.jrrenderable)field_barcode.getvalue())")); //$jr_expr_id=152$ com.keepdynamic.barcode.generator.jasperreports.barcodefactory cannot resolved type value = new com.keepdynamic.barcode.generator.jasperreports.barcoderenderer( com.keepdynamic.barcode.generator.jasperreports.barcodefactory.createlinear( 8,"((net.sf.jasperreports.engine.jrrenderable)field_barcode.getvalue())")); //$jr_expr_id=152$ <------------------------------------------------------------> errors @ net.sf.jasperreports.engine.design.jrabstractcompiler.compilereport(jrabstractcompiler.java:215) @ net.sf.jasperreports.eclipse.builder.jasperreportcompiler.compilereport(jasperreportcompiler.java:195) @ net.sf.jasperreports.eclipse.builder.jasperreportcompiler.compilereport(jasperreportcompiler.java:91) @ net.sf.jasperreports.eclipse.builder.jasperreportsbuilder.compilejrxml(jasperreportsbuilder.java:211) @ com.jaspersoft.studio.editor.action.compileaction.actioncompile(compileaction.java:176) @ com.jaspersoft.studio.editor.action.compileaction$3.run(compileaction.java:132) @ org.eclipse.core.internal.jobs.worker.run(worker.java:54)
you need add keepdynamic barcode.jar
classpath
to download jar visit their page, can consider other barcode libraries included in jasper distribution barbecue , barcode4j , these can used directly in ide
Comments
Post a Comment