Barcode Problem

 

Dear Friends,

I am using ireport version 3.0 and jasperserver 3.0. i created a report using barcode its working fine. but later on when i connect thins this into server it gives below error at the time of running. Please tell me the solution i will be very thankful to you.

Regards

Kamran

 

1 - Errors were encountered when compiling report expressions class file: 1. it.businesslogic.ireport.barcode.BcImage cannot be resolved to a type value = (java.awt.Image)(it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(13,((java.math.BigDecimal)field_CONT_DESTUFF_DETAIL_ID.getValue()),false,false,null,0,0));//$JR_EXPR_ID=13$ --------------------------------------> 2. it.businesslogic.ireport.barcode.BcImage cannot be resolved to a type value = (java.awt.Image)(it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(13,((java.math.BigDecimal)field_CONT_DESTUFF_DETAIL_ID.getOldValue()),false,false,null,0,0));//$JR_EXPR_ID=13$ --------------------------------------> 3. it.businesslogic.ireport.barcode.BcImage cannot be resolved to a type value = (java.awt.Image)(it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(13,((java.math.BigDecimal)field_CONT_DESTUFF_DETAIL_ID.getValue()),false,false,null,0,0));//$JR_EXPR_ID=13$ --------------------------------------> 3 errors


java.lang.Exception: 1 - Errors were encountered when compiling report expressions class file:
1. it.businesslogic.ireport.barcode.BcImage cannot be resolved to a type
                value = (java.awt.Image)(it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(13,((java.math.BigDecimal)field_CONT_DESTUFF_DETAIL_ID.getValue()),false,false,null,0,0));//$JR_EXPR_ID=13$
                                         <-------------------------------------->
2. it.businesslogic.ireport.barcode.BcImage cannot be resolved to a type
                value = (java.awt.Image)(it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(13,((java.math.BigDecimal)field_CONT_DESTUFF_DETAIL_ID.getOldValue()),false,false,null,0,0));//$JR_EXPR_ID=13$
                                         <-------------------------------------->
3. it.businesslogic.ireport.barcode.BcImage cannot be resolved to a type
                value = (java.awt.Image)(it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(13,((java.math.BigDecimal)field_CONT_DESTUFF_DETAIL_ID.getValue()),false,false,null,0,0));//$JR_EXPR_ID=13$
                                         <-------------------------------------->
3 errors 
    at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:394) 
    at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:311) 
    at com.jaspersoft.jasperserver.irplugin.ReportRunner.run(ReportRunner.java:80) 
    at java.lang.Thread.run(Unknown Source) 

kamxpert's picture
Joined: Jul 13 2010 - 10:17pm
Last seen: 6 years 10 months ago
Hello,
 
I am using ireport version 4.7.1. You need add the "ireport-utils-2.0.1.jar" in the classpath of ireport.
Access IReport Menu: >tools >options >ireport >Classpath, click in "Add Jar" and select: 
"ireport-utils-2.0.1". Run the compilation again.
 
Regards
 
Rafael
rafael.albuquerque.it - 6 years 3 months ago

0 Answers:

No answers yet
Feedback