danmbox / briss2

Fork of Briss (http://briss.sourceforge.net/), an application for cropping PDF files
GNU General Public License v3.0
58 stars 13 forks source link

NoClassDefFoundError: com/itextpdf/text/DocumentException #4

Closed ylluminate closed 8 years ago

ylluminate commented 8 years ago

After building briss and executing the application via: java -jar target/briss-*.jar /path/to/pdf.pdf

I ran into the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: com/itextpdf/text/DocumentException
    at at.laborg.briss.Briss.main(Briss.java:59)
Caused by: java.lang.ClassNotFoundException: com.itextpdf.text.DocumentException
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 1 more

Any idea of what's happening here?

ylluminate commented 8 years ago

So I got to wondering and I unzip'd an archive and then executed that with success.

zsxgb commented 6 years ago

how to unzip file. @ylluminate