Use xmpbox, not jempbox.

Tilman

Am 01.02.2022 um 20:19 schrieb Tommy Wu:
Here's the dependency I used

<dependency>
     <groupId>org.apache.pdfbox</groupId>
     <artifactId>pdfbox</artifactId>
     <version>2.0.25</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.pdfbox/jempbox -->
<dependency>
     <groupId>org.apache.pdfbox</groupId>
     <artifactId>jempbox</artifactId>
     <version>1.8.16</version>
</dependency>


pdfboxTest\src\main\java\com\example\pdfboxtest\CreatePDFA.java:101:40
java: incompatible types: org.apache.jempbox.xmp.XMPMetadata cannot be
converted to byte[]

line 40 is

metadata.importXMPMetadata(xmp);


Tilman Hausherr <thaush...@t-online.de> 於 2022年2月1日週二 下午1:56寫道:

Then please tell what errors you get, and what libraries you're using
(hopefully pdfbox, fontbox and xmpbox).

Tilman

Am 01.02.2022 um 19:42 schrieb Tommy Wu:
I can't even get it to compile

Andreas Lehmkuehler <andr...@lehmi.de> 於 2022年2月1日週二 上午12:35寫道:

Hi,

Am 31.01.22 um 22:03 schrieb Tommy Wu:
The following cookbook is not long working for the new version. Do you
have
a way to do it now?
Which version are you referring to?

What exactly doesn't work?

Andreas

Apache PDFBox | PDF/A Creation
<https://pdfbox.apache.org/1.8/cookbook/pdfacreation.html>



Thanks

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



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




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

Reply via email to