ClassNotFoundException: org.openxmlformats.schemas.spreadsheetml

Asked on April 22, 2014
Exception in thread "main" java.lang.NoClassDefFoundError: org/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet
at com.test.TestXLSX.main(
Caused by: java.lang.ClassNotFoundException: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTSheet
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
... 1 more

I am working on updating XLSX sheet and got the above error. How to resolve it?

Replied on April 22, 2014
You are missing poi-ooxml-schemas-3.10-FINAL.jar

Replied on April 22, 2014
You can set pom.xml as below.


Write Answer

©2023 | Privacy Policy | Contact Us