The example subproject is just example source code. There are maybe 50
different "main" there. Depending on your IDE, you can run the files
directly there. Or copy what you need in your own projects.
Tilman
Am 21.01.2020 um 21:37 schrieb Phanu Choomsit:
When I try to execute pdfbox-examples-2.0.18.jar
java -jar examples/target/pdfbox-examples-2.0.18.jar# it show errorno main
manifest attribute, in examples/target/pdfbox-examples-2.0.18.jar
After I extract pdfbox-examples-2.0.18.jar, the file META-INF/MANIFEST.MF is
absent.So it don't know where to start an application in
pdfbox-examples-2.0.18.jar.
I also try another way but no luck.
java -cp examples/target/classes:.
org.apache.pdfbox.examples.signature.CreateSignature # it show errorError:
Could not find or load main class
org.apache.pdfbox.examples.signature.CreateSignature
Is there a way to run applications in pdfbox-examples-2.0.18.jar
My system:macOS 10.15.2maven 3.6.3java 1.8.0_133javac 1.8.0_133pdfbox 2.0.18
Best regards,Phanu C.Bangkok Thailand
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org