Peetzer Posted January 18, 2012 Share Posted January 18, 2012 JRPdfExporter, JRPdfExporterContext, JRPdfExporterTagHelper, PdfTextRenderer and BreakIteratorSplitCharacter refer to com.lowagie.text, in the latest itext libraries this is changed to com.itextpdf.text.Solution is to refer to old library like itext-2.0.6.jar (or manually patch above files).Note, barcode4j and itext are both referenced in JasperReports. Itext alone will suffice for barcodes with latest version (also with QR barcode which barcode4j doesn't support)Regards Peter Link to comment Share on other sites More sharing options...
lucianc Posted May 9, 2012 Share Posted May 9, 2012 You're right, JR requires iText 2.1.7 and doesn't work with 5.x. The matter has been raised before, see http://jasperforge.org/projects/jasperreports/tracker/view.php?id=5183 and http://jasperforge.org/projects/jasperreports/tracker/view.php?id=5468The problem is not changing the JR PDF exporter to use iText 5.x classes, but that iText 5.x is licensed under AGPL, which is not compatible with JR's license (LGPL). Due to that, for the moment at least you'll need to use JR with iText 2.1.7.I'm not familiar with iText's barcode support. We don't have support for it in JR, please log it as a feature request if you'd like to have that.Regards,Lucian Link to comment Share on other sites More sharing options...
Peetzer Posted May 10, 2012 Author Share Posted May 10, 2012 Thanks Lucian, barcode4j is in Jasper Reports but development is pretty long time stopped ago. QR code support is missing in these versions but alternative is Zxing (and this is also added in later iText versions but with AGPL license) 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