shiv Posted April 28, 2010 Share Posted April 28, 2010 Hi,Any one help me how to solve this problem? I am getting this error.Please i added barbecue_1.5-jar .Error:-Version:0.9 StartHTML:-1 EndHTML:-1 StartFragment:0000000111 EndFragment:0000003866 Compiling to file... C:Usersbg.KMKNT3DODesktopBarbecueReport.jasper Errors compiling C:Usersbg.KMKNT3DODesktopBarbecueReport.jasper! Compilation exceptions: com.jaspersoft.ireport.designer.compiler.ErrorsCollector@1996fcnet.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:1. BarbecueRenderer cannot be resolved to a type value = (net.sf.jasperreports.engine.JRRenderable)(new BarbecueRenderer(net.sourceforge.barbecue.BarcodeFactory.createCode128B("1234567890"))); //$JR_EXPR_ID=11$ <-------------->2. BarbecueRenderer cannot be resolved to a type value = (net.sf.jasperreports.engine.JRRenderable)(new BarbecueRenderer(net.sourceforge.barbecue.BarcodeFactory.createCode128B("1234567890"))); //$JR_EXPR_ID=11$ <-------------->3. BarbecueRenderer cannot be resolved to a type value = (net.sf.jasperreports.engine.JRRenderable)(new BarbecueRenderer(net.sourceforge.barbecue.BarcodeFactory.createCode128B("1234567890"))); //$JR_EXPR_ID=11$ <-------------->3 errors at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:191) at com.jaspersoft.ireport.designer.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)Any help would be very very Great!!Please help me. Link to comment Share on other sites More sharing options...
tmatyashovsky Posted May 10, 2010 Share Posted May 10, 2010 The problem is caused due to incompatible class types. Check them please.Does BarbecueRenderer implements JRRenderable? Hope that will help. Best regards,Taras Matyashovsky 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