aspose file tools
The moose likes Other Open Source Projects and the fly likes Reading Word document Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "Reading Word document" Watch "Reading Word document" New topic
Author

Reading Word document

Lokesh Tank
Greenhorn

Joined: May 08, 2010
Posts: 18
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.


Solution Spider
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2407
The usual reason is that two different library versions (in this case: POI) are used for compiling the code and for running the code.
Lokesh Tank
Greenhorn

Joined: May 08, 2010
Posts: 18
Thanks for your help. I am able to read word document using same library versions.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Reading Word document
 
Similar Threads
HWPF POI
Opening Word Doc from JSP Page using POI
How to print different type of document types in java ?
Landscape mode for word document
Reading word Documents Using JAVA