yeokm1 / docs-to-pdf-converter

A standalone Java library/command line tool that converts DOC, DOCX, PPT, PPTX and ODT documents to PDF files.
MIT License
593 stars 244 forks source link

jar is not working properly #14

Open ghost opened 6 years ago

ghost commented 6 years ago

Arun.4.Kumar@0076-TZB-IMS MINGW64 ~/Downloads/docs-to-pdf-converter/docs-to-pdf-converter/target (master) $ java -jar docs-to-pdf-converter-1.8.jar -i test.docx -o test.pdf Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.NoClassDefFoundError: org/kohsuke/args4j/CmdLineException at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.privateGetMethodRecursive(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at sun.launcher.LauncherHelper.validateMainClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.kohsuke.args4j.CmdLineException at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 7 more

Arun.4.Kumar@0076-TZB-IMS MINGW64 ~/Downloads/docs-to-pdf-converter/docs-to-pdf-converter/target (master)

yeokm1 commented 6 years ago

Hi. I'm not too sure what happened. May I know the platform you are running on?

aresares commented 6 years ago

same error for me, Im using windows 10, java 1.8