java.lang.NoClassDefFoundError

org/openxmlformats/schemas/wordprocessingml/x2006/main/impl/CTStylesImpl$1StyleList

Samebug tips9

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.


rafaelrafael

NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web17798

  • via Unknown by Deleted User,
  • Stack trace

    • java.lang.NoClassDefFoundError: org/openxmlformats/schemas/wordprocessingml/x2006/main/impl/CTStylesImpl$1StyleList at org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTStylesImpl.getStyleList(Unknown Source) at org.apache.poi.xwpf.converter.core.styles.XWPFStylesDocument.initialize(XWPFStylesDocument.java:188) at org.apache.poi.xwpf.converter.core.styles.XWPFStylesDocument.<init>(XWPFStylesDocument.java:181) at org.apache.poi.xwpf.converter.core.styles.XWPFStylesDocument.<init>(XWPFStylesDocument.java:170) at org.apache.poi.xwpf.converter.core.XWPFDocumentVisitor.createStylesDocument(XWPFDocumentVisitor.java:153) at org.apache.poi.xwpf.converter.core.XWPFDocumentVisitor.<init>(XWPFDocumentVisitor.java:147) at org.apache.poi.xwpf.converter.pdf.internal.PdfMapper.<init>(PdfMapper.java:135) at org.apache.poi.xwpf.converter.pdf.PdfConverter.doConvert(PdfConverter.java:54) at org.apache.poi.xwpf.converter.pdf.PdfConverter.doConvert(PdfConverter.java:37) at org.apache.poi.xwpf.converter.core.AbstractXWPFConverter.convert(AbstractXWPFConverter.java:45) at com.siparadigm.tiger.annotate.test.doGenerate(test.java:25) at com.siparadigm.tiger.annotate.test.main(test.java:15) Caused by: java.lang.ClassNotFoundException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTStylesImpl$1StyleList 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) ... 12 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    rprp
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    2363 more bugmates