Hello.

I downloaded poi version 3.0.2-beta1 from svn, because i want to use
ExcelExtractor. When I try to create ExcelExtractor with POIFSFileSystem it
fails with this exception:

java.lang.VerifyError: (class: org/apache/poi/hssf/extractor/ExcelExtractor, 
method: <init> signature: (Lorg/apache/poi/hssf/usermodel/HSSFWorkbook;)V) 
Incompatible argument to function

The code:

     private String getContentFromExcel(InputStream data) throws IOException {
        POIFSFileSystem fs = new POIFSFileSystem(data);
        ExcelExtractor extractor = new ExcelExtractor(fs);
        return extractor.getText();
    }

Thanks for replies.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to