java.lang.ClassNotFoundException: org.apache.xmlbeans.XmlException

Asked on April 22, 2014
While using POI API, i am getting below error. How to resolve it. I am new to POI.

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException
at com.test.TestXLSX.main(
Caused by: java.lang.ClassNotFoundException: org.apache.xmlbeans.XmlException
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
... 1 more

Replied on April 22, 2014
downlaod xmlbeans-2.6.0.jar or set POM as below


Replied on April 22, 2014
Ok. I will do it.

Write Answer

©2024 | Privacy Policy | Contact Us