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

--
Viele Grüße
Peter Pinnau

----------------------------------------------
http://www.unterbrecher.de - Museumshof NO 31
----------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to