henryedsl Posted December 22, 2009 Share Posted December 22, 2009 Hello people!!!I am working with the JasperReports 3.7.0 and the iReport 3.7.0 version.I have added a Barcde4j component to my report from the iReport so i can print barcodes.What exactly are the libraries i have to add to my web application to preview or print barcodes correctly?I have added the following:jasperreports-3.7.0.jarbarcode4j-2.0.jarbatik-anim.jarbatik-awt-util.jarbatik-bridge.jarbatik-css.jarbatik-dom.jarbatik-ext.jarbatik-gvt.jarbatik-parser.jarbatik-script.jarbatik-svg-dom.jarbatik-svggen.jarbatik-util.jarbatik-xml.jarWhen i try to preview my report from my web application, i don't get any errors but the report does not show the barcodes, it is blank.When i try my report from the iReport, it works perfect, it show the barcodes.Regards and thanks in advance for your time to read this post.PD: in the Attachment you can see the report preview from my application and from the iReport. Link to comment Share on other sites More sharing options...
lucianc Posted December 23, 2009 Share Posted December 23, 2009 Any exception logs in your application? Is the barcode placed on the same band as the B-1 text?Regards,Lucian Link to comment Share on other sites More sharing options...
henryedsl Posted December 28, 2009 Author Share Posted December 28, 2009 Hello Lucian!Thanks for your answer. luciancWrote: Any exception logs in your application? Is the barcode placed on the same band as the B-1 text? Regards, Lucian No exception logs, everything seems to be ok, and yes, the barcode is placed on the same band as the B-1 text.This is why i suppose that i need to add some library to my application, because when i export the report to PDF from the iReport, it is ok. Thanks agian Lucian! Link to comment Share on other sites More sharing options...
henryedsl Posted December 28, 2009 Author Share Posted December 28, 2009 By the way, does the barcode placed on the same band as the B-1 text have something to do with the problem? What about the web browser? I have tried everything, and still i have the problem. Link to comment Share on other sites More sharing options...
henryedsl Posted December 29, 2009 Author Share Posted December 29, 2009 Hello! I solved the problem! I copied the xml-apis-ext.jar to the tomcat lib folder and now it works perfect. Regards... 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