Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    A few things cause this exception:
    1) Check if you have all jars and if they're in the correct path.
    2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

  2. ,

    you can change your scala version to 2.11.11

Solutions on the web

via docfetcher by *anonymous
, 1 year ago
org/openxmlformats/schemas/wordprocessingml/x2006/main/DocumentDocument$Factory
java.lang.NoClassDefFoundError: org/openxmlformats/schemas/wordprocessingml/x2006/main/DocumentDocument$Factory at org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:158) at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:177) at org.apache.poi.xwpf.usermodel.XWPFDocument.<init>(XWPFDocument.java:119) at org.apache.poi.xwpf.extractor.XWPFWordExtractor.<init>(XWPFWordExtractor.java:58) at org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:204) at net.sourceforge.docfetcher.model.parse.MSOffice2007Parser.extractText(MSOffice2007Parser.java:182) at net.sourceforge.docfetcher.model.parse.MSOffice2007Parser.parse(MSOffice2007Parser.java:72) at net.sourceforge.docfetcher.model.parse.ParseService.doParse(ParseService.java:309) at net.sourceforge.docfetcher.model.parse.ParseService.parse(ParseService.java:218) at net.sourceforge.docfetcher.model.index.outlook.OutlookContext$1.handleAttachment(OutlookContext.java:141) at net.sourceforge.docfetcher.model.index.outlook.AttachmentVisitor.run(AttachmentVisitor.java:91) at net.sourceforge.docfetcher.model.index.outlook.OutlookContext.createLuceneDoc(OutlookContext.java:127) at net.sourceforge.docfetcher.model.index.outlook.OutlookContext.index(OutlookContext.java:69) at net.sourceforge.docfetcher.model.index.outlook.OutlookIndex.visitFolder(OutlookIndex.java:229) at net.sourceforge.docfetcher.model.index.outlook.OutlookIndex.visitFolder(OutlookIndex.java:275) at net.sourceforge.docfetcher.model.index.outlook.OutlookIndex.visitFolder(OutlookIndex.java:275) at net.sourceforge.docfetcher.model.index.outlook.OutlookIndex.visitFolder(OutlookIndex.java:275) at net.sourceforge.docfetcher.model.index.outlook.OutlookIndex.doUpdate(OutlookIndex.java:111) at net.sourceforge.docfetcher.model.TreeIndex.update(TreeIndex.java:148) at net.sourceforge.docfetcher.model.index.Task.update(Task.java:98) at net.sourceforge.docfetcher.model.index.IndexingQueue.threadLoop(IndexingQueue.java:193) at net.sourceforge.docfetcher.model.index.IndexingQueue.access$100(IndexingQueue.java:46) at net.sourceforge.docfetcher.model.index.IndexingQueue$2.run(IndexingQueue.java:118)Caused by: java.lang.ClassNotFoundException: org.openxmlformats.schemas.wordprocessingml.x2006.main.DocumentDocument$Factory 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) ... 23 more