java - Ireports and barcode -


i doing report contains barcodes, when compile it, gives me error

    compilation exceptions: com.jaspersoft.ireport.designer.compiler.errorscollector@eed1de   net.sf.jasperreports.engine.jrexception: errors encountered when compiling report expressions class file:    1. it.businesslogic.ireport.barcode.bcimage cannot resolved type                    value = (java.awt.image)(it.businesslogic.ireport.barcode.bcimage.getbarcodeimage(26,"*"+((java.lang.string)field_nridentsns.getvalue())+"*",false,false,null,0,0)); //$jr_expr_id=9$                                             <-------------------------------------->    2. it.businesslogic.ireport.barcode.bcimage cannot resolved type                    value = (java.awt.image)(it.businesslogic.ireport.barcode.bcimage.getbarcodeimage(26,"*"+((java.lang.string)field_nridentsns.getvalue())+"*",false,false,null,0,0)); //$jr_expr_id=13$                                             <-------------------------------------->    3. it.businesslogic.ireport.barcode.bcimage cannot resolved type                    value = (java.awt.image)(it.businesslogic.ireport.barcode.bcimage.getbarcodeimage(26,"*"+((java.lang.string)field_nridentsns.getoldvalue())+"*",false,false,null,0,0)); //$jr_expr_id=9$                                             <-------------------------------------->    4. it.businesslogic.ireport.barcode.bcimage cannot resolved type                    value = (java.awt.image)(it.businesslogic.ireport.barcode.bcimage.getbarcodeimage(26,"*"+((java.lang.string)field_nridentsns.getoldvalue())+"*",false,false,null,0,0)); //$jr_expr_id=13$                                             <-------------------------------------->    5. it.businesslogic.ireport.barcode.bcimage cannot resolved type                    value = (java.awt.image)(it.businesslogic.ireport.barcode.bcimage.getbarcodeimage(26,"*"+((java.lang.string)field_nridentsns.getvalue())+"*",false,false,null,0,0)); //$jr_expr_id=9$                                             <-------------------------------------->    6. it.businesslogic.ireport.barcode.bcimage cannot resolved type                    value = (java.awt.image)(it.businesslogic.ireport.barcode.bcimage.getbarcodeimage(26,"*"+((java.lang.string)field_nridentsns.getvalue())+"*",false,false,null,0,0)); //$jr_expr_id=13$                                             <-------------------------------------->    6 errors      @ net.sf.jasperreports.engine.design.jrabstractcompiler.compilereport(jrabstractcompiler.java:191)     @ com.jaspersoft.ireport.desig![enter image description here][1]ner.compiler.ireportcompiler.run(ireportcompiler.java:494)     @ org.openide.util.requestprocessor$task.run(requestprocessor.java:572)     @ org.openide.util.requestprocessor$processor.run(requestprocessor.java:997)  compilation running time: 4.807 

what doing wrong? using ireports 3.7.0

this classpath:

http://img857.imageshack.us/img857/6145/classpath.png

check if there file barbecue-1.1.jar (it contains bcimage.class) in /web-inf/lib folder. if not, add it.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -