• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading Word document

 
Sanjoo Singh
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to read word document using Apache POI package but getting following error:

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.poi.hwpf.model.CHPBinTable.<init>([B[BIIILorg/apache/poi/hwpf/model/TextPieceTable;)V

I am using poi-scratchpad-3.5-FINAL.jar file. I look forward for any help/guidance in this regard.
 
Tim Moores
Bartender
Posts: 2675
33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The usual reason is that two different library versions (in this case: POI) are used for compiling the code and for running the code.
 
Sanjoo Singh
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your help. I am able to read word document using same library versions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic