Hi all,
I would like to convert the Excel file into PDF file but i get the error as following:
Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException
at main.PDFConverter.main(PDFConverter.java:24)
Caused by: java.lang.ClassNotFoundException: org.apache.xmlbeans.XmlException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
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)
May someone suggest better code for me to convert the Excel file to PDF format. Thanks a lot