title: java.lang.NoSuchMethodError: org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTbl.getTrList()Ljava/util/List while using Apache POI library
body: <p>I'm trying to make work a piece of code to read a docx file, but it fails for some strange reason.</p>
  
  <p>It fails on this line:</p>
  
  <pre><code>XWPFDocument document = new XWPFDocument(new FileInputStream(filepath));
  </code></pre>
  
  <p>Stack trace:</p>
  
  <pre><code>Exception in thread "main" java.lang.NoSuchMethodError: org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTbl.getTrList()Ljava/util/List;
      at org.apache.poi.xwpf.usermodel.XWPFTable.&lt;init&gt;(XWPFTable.java:106)
      at org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:151)
      at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:159)
      at org.apache.poi.xwpf.usermodel.XWPFDocument.&lt;init&gt;(XWPFDocument.java:124)
      at helper.JavaHelper.readTableDataFull(JavaHelper.java:84)
      at helper.JavaHelper.main(JavaHelper.java:138)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
  </code></pre>
  
  <p>I have those jars:</p>
  
  <ul>
  <li>dom4j-1.6.1.jar</li>
  <li>xmlbeans-2.3.0.jar</li>
  <li>poi-3.9-20121203.jar</li>
  <li>poi-scratchpad-3.9-20121203.jar</li>
  <li>poi-ooxml-3.9-20121203.jar</li>
  <li>ooxml-schemas-1.0.jar</li>
  </ul>
  
  <p>Looks like it should work to me (I have also tried with newer poi libs - same error).</p>
  
  <p>Any ideas ?</p>