lfvo Posted April 11, 2011 Share Posted April 11, 2011 Hi all,i am doing a report, but its gives me an error when i do preview.here the error and my classpath:Compilation exceptions: com.jaspersoft.ireport.designer.compiler.ErrorsCollector@eed1de net.sf.jasperreports.engine.JRException: 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(26,"*"+((java.lang.String)field_NRIDENTSNS.getValue())+"*",false,false,null,0,0)); //$JR_EXPR_ID=9$ <--------------------------------------> 2. it.businesslogic.ireport.barcode.BcImage cannot be resolved to a 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 be resolved to a 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 be resolved to a 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 be resolved to a 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 be resolved to a 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 at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:191) at com.jaspersoft.ireport.desig![enter image description here][1]ner.compiler.IReportCompiler.run(IReportCompiler.java:494) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Compilation running time: 4.807[/code]What i am doing wrong? i am using ireports 3.7.0this is my classpath:http://img857.imageshack.us/img857/6145/classpath.png Link to comment Share on other sites More sharing options...
NandiniBC Posted April 12, 2011 Share Posted April 12, 2011 post your JRXML file. -Sonata Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now