This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • 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: 2947
46
  • 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