poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhaarat Sharma <bhaara...@gmail.com>
Subject POI 3.15 - Can not create an instance of HWPFDocument(inputstream)
Date Mon, 31 Oct 2016 03:59:38 GMT
I have an extremely simple DOC (attached). I can't seem to create an
instance of the HWPFDocument.

I am just doing

HWPFDocument doctest = new HWPFDocument(new FileInputStream(new File
("worddoctest.doc")))

The error I get is:

Caused by NoSuchMethodError:
org.apache.poi.util.POILogger.log(ILjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
->> 173 | assertCbRgFcLcb in org.apache.poi.hwpf.model.FileInformationBlock
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|   158 | assertCbRgFcLcb in     ''
|   140 | <init> in     ''
|   155 | <init> in org.apache.poi.hwpf.HWPFDocumentCore
|   218 | <init> in org.apache.poi.hwpf.HWPFDocument

Mime
View raw message