danfickle / openhtmltopdf

An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!
https://danfickle.github.io/pdf-templates/index.html
Other
1.93k stars 360 forks source link

java.lang.NoSuchFieldError: COURIER_BOLD_OBLIQUE #912

Open cQhI opened 1 year ago

cQhI commented 1 year ago

image which version?

akoshy commented 1 year ago

Facing the same issue.. Any idea why this is happening?

costas80 commented 1 year ago

This library works currently with PDFBox 2. You are using release 3 as I see in your dependencies.

akoshy commented 1 year ago

will this be supported with PDFBox 3.0 soon?

costas80 commented 1 year ago

The initial maintainer of this library has been absent since quite some time now. However it is being picked up by others who stated they will fork it and continue its evolution. One of the first tasks on this is discussed as being moving to PDFBox 3.0. I wouldn't expect this happening in the very short-term though.

See #921

funyin commented 4 months ago

I also had this issue with v1.0.10. I tried downgrading till I found this fork that has resolved the issue https://github.com/openhtmltopdf/openhtmltopdf