I use maven shade plugin to put all project dependencies in an uber jar. I managed to include pdfbox jbig2 classes via a filter include configuration. I inspected the jar file and it includes the org.apache.pdfbox.jbig2 package with classes und sub-packages.
When a jbig2 encoded PDF should be rendered I get: org.apache.pdfbox.contentstream.PDFStreamEngine operatorException Cannot read JBIG2 image: jbig2-imageio is not installed It works fine from my IDE where all jars are included seperatly. How pdfbox determines if jbig2 support is present? What can be a solution to get jbig2 rendering working with an uber jar? versions: pdfbox 2.0.16 jbig2-imageio 3.0.2 -- Mit freundlichen Grüßen Peter Pinnau Tel +49 (3375) - 21 23 65 SYSTEM CONCEPT GmbH - Freiheitstraße 120 Aufgang C - 15745 Wildau bei Berlin HRB 9799 CB | Registergericht Cottbus - Gerichtsstand: Königs Wusterhausen Geschäftsführung: Dipl.Wirt.Inf.(FH) Markus Schelhorn - www.systemconcept.de